mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-02-12 08:38:36 -06:00
- Fixed formatting issues in Compliance.jsx - Fixed unused imports and variables - Fixed @ts-ignore to @ts-expect-error - Configured a11y rules to be off - All errors resolved, only warnings remain (which are configured as warnings in biome.json)
51 lines
939 B
JSON
51 lines
939 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/dist",
|
|
"!**/node_modules",
|
|
"!**/*.min.js",
|
|
"!**/*.css"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"style": {
|
|
"useConst": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noAssignInExpressions": "off",
|
|
"noArrayIndexKey": "warn",
|
|
"useIterableCallbackReturn": "warn"
|
|
},
|
|
"a11y": {
|
|
"noLabelWithoutControl": "off",
|
|
"noSvgWithoutTitle": "off",
|
|
"useButtonType": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"noStaticElementInteractions": "off"
|
|
},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "warn",
|
|
"noUnusedVariables": "warn",
|
|
"noUnusedFunctionParameters": "warn"
|
|
}
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true
|
|
}
|
|
}
|