sendou.ink/biome.json
William Lam f26e040238
Enable Biome rule "noSvgWithoutTitle" (#1849)
* Turn off noSvgWithoutTitle rule & see how many errors pop up in linting

* Commit with .tsx files containing <svg /> elements now have <title /> tags in them (with English localization)

* Fixed tabbing in some files
2024-08-25 09:10:09 +03:00

53 lines
890 B
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": [
"./scripts/dicts/**/*",
"./scripts/output/**/*",
"./app/db/seed/placements.json",
"./build/**/*"
]
},
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noConsoleLog": "error"
},
"style": {
"noNonNullAssertion": "off",
"noUnusedTemplateLiteral": {
"fix": "safe",
"level": "error"
},
"useNodejsImportProtocol": {
"fix": "safe",
"level": "error"
},
"useTemplate": {
"fix": "safe",
"level": "error"
}
},
"a11y": {
"useKeyWithClickEvents": "off"
},
"complexity": {
"useLiteralKeys": {
"fix": "safe",
"level": "error"
}
}
}
},
"css": {
"formatter": {
"enabled": true
},
"linter": {
"enabled": true
}
}
}