mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
This is just bad UX than a11y. Most of the time icons are used with contextual text but if stand-alone we should provide a better name in the context of the feature rather than a generic one.
74 lines
1.4 KiB
JSON
74 lines
1.4 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!scripts/dicts/**/*",
|
|
"!scripts/output/**/*",
|
|
"!app/db/seed/placements.json",
|
|
"!build/**/*"
|
|
]
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noConsole": { "level": "error" }
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noUnusedTemplateLiteral": {
|
|
"fix": "safe",
|
|
"level": "error"
|
|
},
|
|
"useNodejsImportProtocol": {
|
|
"fix": "safe",
|
|
"level": "error"
|
|
},
|
|
"useTemplate": {
|
|
"fix": "safe",
|
|
"level": "error"
|
|
},
|
|
"noParameterAssign": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useDefaultParameterLast": "error",
|
|
"useEnumInitializers": "error",
|
|
"useSelfClosingElements": "error",
|
|
"useSingleVarDeclarator": "error",
|
|
"useNumberNamespace": "error",
|
|
"noInferrableTypes": "error",
|
|
"noUselessElse": "error"
|
|
},
|
|
"a11y": {
|
|
"useKeyWithClickEvents": "off",
|
|
"noLabelWithoutControl": "off",
|
|
"noSvgWithoutTitle": "off"
|
|
},
|
|
"complexity": {
|
|
"useLiteralKeys": {
|
|
"fix": "safe",
|
|
"level": "error"
|
|
}
|
|
},
|
|
"nursery": {
|
|
"useUniqueElementIds": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"useEditorconfig": true
|
|
},
|
|
"css": {
|
|
"formatter": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true
|
|
},
|
|
"parser": {
|
|
"cssModules": true
|
|
}
|
|
}
|
|
}
|