Files

65 lines
1.3 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"includes": ["**", "!backend"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "error",
"noUselessFragments": "error",
"useLiteralKeys": "error",
"noUselessCatch": "error",
"useSimplifiedLogicExpression": "error",
"noExcessiveCognitiveComplexity": "warn"
},
"style": {
"useConst": "error",
"noNonNullAssertion": "warn"
},
"a11y": {
"useAltText": "error",
"noAutofocus": "warn"
},
"suspicious": {
"noExplicitAny": "warn",
"noConsole": "warn"
},
"correctness": {
"noUnusedVariables": "error"
}
},
"includes": ["**", "!backend"]
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
}
}