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": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true
|
||||
"recommended": true,
|
||||
"correctness": {
|
||||
"noUnusedImports": "error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
|
||||
Reference in New Issue
Block a user