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.
38 lines
645 B
JSON
38 lines
645 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": ["**", "!!**/dist", "!!**/.claude"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedImports": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double"
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|