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:
2026-04-30 22:23:01 -04:00
parent a6b24b318e
commit f68a5a8d9b

View File

@@ -15,7 +15,10 @@
"linter": { "linter": {
"enabled": true, "enabled": true,
"rules": { "rules": {
"recommended": true "recommended": true,
"correctness": {
"noUnusedImports": "error"
}
} }
}, },
"javascript": { "javascript": {