Files
patchmon.net/biome.json
Muhammad Ibrahim a7f11add4f Fix all Biome errors and warnings
- 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)
2026-02-08 17:48:57 +00:00

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
}
}