feat(linter): enforce correctness on unused imports
Configures the linter to treat unused imports as an error under the `correctness` rule category. This tightens up code quality standards by ensuring all imported bindings are utilized. If the import is unused, there is a high chance refactoring missed this flow. Review in-depth root causes.
This commit is contained in:
@@ -15,7 +15,10 @@
|
|||||||
"linter": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
"recommended": true
|
"recommended": true,
|
||||||
|
"correctness": {
|
||||||
|
"noUnusedImports": "error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"javascript": {
|
"javascript": {
|
||||||
|
|||||||
Reference in New Issue
Block a user