Files
fluxer/biome.json
T

153 lines
3.6 KiB
JSON
Raw Normal View History

2026-01-01 20:42:59 +00:00
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"lineWidth": 120,
"lineEnding": "lf",
"bracketSpacing": false,
"includes": ["**", "!**/fluxer_app/src/features/theme/variables/ThemeVariableManifest.ts"]
2026-01-01 20:42:59 +00:00
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": false,
"bracketSameLine": false
},
"globals": ["React"]
},
"json": {
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 120
},
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
},
"css": {
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 120,
"quoteStyle": "single"
},
"parser": {
2026-02-17 12:22:36 +00:00
"cssModules": true,
"tailwindDirectives": true
2026-01-01 20:42:59 +00:00
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
2026-02-17 12:22:36 +00:00
"noImportantStyles": "off",
"useLiteralKeys": "off"
2026-01-01 20:42:59 +00:00
},
"correctness": {
"noUndeclaredVariables": "error",
"noUnusedVariables": "error",
"noInvalidUseBeforeDeclaration": "off",
"useExhaustiveDependencies": "off"
},
"suspicious": {
"noArrayIndexKey": "off",
"noAssignInExpressions": "off",
"noExplicitAny": "off",
2026-02-17 12:22:36 +00:00
"noThenProperty": "off",
2026-01-01 20:42:59 +00:00
"noDoubleEquals": {
"level": "error",
"options": {
"ignoreNull": true
}
},
"noVar": "error",
"useAdjacentOverloadSignatures": "off",
"useIterableCallbackReturn": "off"
},
"style": {
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "generic"
}
},
"useConst": "error",
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"a11y": {
"recommended": true,
"useAriaPropsForRole": "error",
"useValidAriaRole": "error",
"useValidAriaValues": "error",
"useValidAriaProps": "error",
"useAltText": "error",
"useAnchorContent": "error",
"useButtonType": "error",
"useKeyWithClickEvents": "error",
"useKeyWithMouseEvents": "error",
"useSemanticElements": "off",
"noAriaUnsupportedElements": "error",
"noNoninteractiveElementToInteractiveRole": "error",
"noNoninteractiveTabindex": "error",
"noRedundantAlt": "error",
"noRedundantRoles": "error",
"noInteractiveElementToNoninteractiveRole": "error",
"noAutofocus": "warn",
"noAccessKey": "warn",
"useAriaActivedescendantWithTabindex": "error",
2026-02-17 12:22:36 +00:00
"noSvgWithoutTitle": "off"
2026-01-01 20:42:59 +00:00
},
"nursery": {
"useSortedClasses": "error"
}
}
},
"assist": {"actions": {"source": {"organizeImports": "on"}}},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
"!**/.git",
"!**/app.css",
2026-02-17 12:22:36 +00:00
"!fluxer_admin/public/static/app.css",
2026-01-01 20:42:59 +00:00
"!**/build",
"fluxer_app/scripts/build",
"!**/dist",
"!**/fluxer_app/src/media/data/emojis.json",
"!**/fluxer_app/src/features/i18n/locales/*/messages.js",
"!**/fluxer_app/src/features/i18n/locales/*/messages.mjs",
2026-01-01 20:42:59 +00:00
"!**/fluxer_app/src/env.d.ts",
"!**/*.generated.*",
"!**/*.pb.*",
"!**/*_pb.*",
2026-01-01 20:42:59 +00:00
"!**/node_modules",
"!packages/schema/src/gen",
2026-01-01 20:42:59 +00:00
"!**/tailwind.css",
"!**/*.html",
"!**/*.module.css.d.ts",
"!**/fluxer_app/src/features/ui/components/SVGMasks.tsx",
2026-02-17 12:22:36 +00:00
"!fluxer_static",
2026-08-12 13:21:50 +02:00
"!packages/fonts",
"!fluxer_admin/static/htmx.min.js",
"!fluxer_api/src/api/openapi/openapi.json"
2026-01-01 20:42:59 +00:00
],
"ignoreUnknown": true
}
}