ng lint throws lot of 'ordered-imports' errors
shanmukhateja opened this issue · 1 comments
shanmukhateja commented
Describe the bug
ng lint
on library root directory throws ordered-imports
errors.
To Reproduce
Steps to reproduce the behavior:
- Go to project root.
- Run
ng lint
- See error
Expected behavior
No linting errors should exist.
Screenshots
Linting "@ngx-builders/ngx-bulma"...
no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
/home/suryateja/ngx-bulma/projects/ngx-bulma/table/table.module.ts:2:1
ERROR: 2:1 ordered-imports Import sources within a group must be alphabetized.
Lint errors found in the listed files.
Linting "bulma-app"...
/home/suryateja/ngx-bulma/projects/bulma-app/src/app/table/table-routing.module.ts:2:10
ERROR: 2:10 ordered-imports Named imports must be alphabetized.
/home/suryateja/ngx-bulma/projects/bulma-app/src/app/table/table.module.ts:2:1
ERROR: 2:1 ordered-imports Import sources within a group must be alphabetized.
ERROR: 5:1 ordered-imports Import sources within a group must be alphabetized.
ERROR: 7:1 ordered-imports Import sources within a group must be alphabetized.
Lint errors found in the listed files.
Desktop (please complete the following information):
- OS: [e.g. iOS] N/A
- Browser [e.g. chrome, safari] N/A
- Version [e.g. 22] N/A
Smartphone (please complete the following information):
- Device: [e.g. iPhone6] N/A
- OS: [e.g. iOS8.1] N/A
- Browser [e.g. stock browser, safari] N/A
- Version [e.g. 22] N/A
Additional context
N/A
I would be willing to submit a PR to fix this issue
[ x ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
shanmukhateja commented