Files
clocks/biome.json
2026-01-23 16:40:03 +00:00

68 lines
1.3 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": ["**", "!!**/dist"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"useHookAtTopLevel": "off"
},
"suspicious": {
"noArrayIndexKey": "off"
}
}
},
"overrides": [
{
"includes": [
"src/app.tsx",
"src/main.tsx",
"src/components/**/*",
"src/clocks/custom/**/*",
"src/clocks/daylight/**/*"
],
"linter": {
"rules": {
"correctness": {
"useExhaustiveDependencies": "warn",
"useHookAtTopLevel": "error"
},
"suspicious": {
"noArrayIndexKey": "warn"
}
}
}
}
],
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}