62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"a11y": {
|
|
"all": true,
|
|
"noSvgWithoutTitle": "off",
|
|
"useKeyWithClickEvents": "off"
|
|
},
|
|
"complexity": {
|
|
"all": true,
|
|
"noUselessTypeConstraint": "off",
|
|
"useSimplifiedLogicExpression": "off"
|
|
},
|
|
"correctness": {
|
|
"all": true
|
|
},
|
|
"performance": {
|
|
"all": true
|
|
},
|
|
"security": {
|
|
"all": true
|
|
},
|
|
"style": {
|
|
"all": true,
|
|
"useTemplate": "off",
|
|
"noNonNullAssertion": "off",
|
|
"useBlockStatements": "off",
|
|
"noInferrableTypes": "off",
|
|
"noDefaultExport": "off",
|
|
"useNamingConvention": "off",
|
|
"useForOf": "off"
|
|
},
|
|
"suspicious": {
|
|
"all": false
|
|
}
|
|
},
|
|
"ignore": ["node_modules/*", "dist/*", ".work/*", "*.js"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"lineWidth": 100,
|
|
"ignore": ["node_modules/*", "dist/*", ".work/*"]
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"quoteProperties": "preserve",
|
|
"trailingComma": "es5",
|
|
"semicolons": "asNeeded"
|
|
},
|
|
"globals": ["it", "describe", "expect", "test"]
|
|
}
|
|
}
|