Files
asepharyana-hub/biome.json
T

74 lines
1.6 KiB
JSON
Raw Normal View History

{
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"a11y": {
"useButtonType": "warn",
"useIframeTitle": "warn",
"noSvgWithoutTitle": "warn",
"useAltText": "warn"
},
"complexity": {
"noForEach": "off",
"noStaticOnlyClass": "off",
"noThisInStatic": "off",
"useOptionalChain": "off"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noConsole": "off",
"noExplicitAny": "warn"
},
"correctness": {
"noUnusedVariables": "error",
"useParseIntRadix": "off"
},
"style": {
"noNonNullAssertion": "off"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"javascript": {
"jsxRuntime": "transparent",
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/.opencode",
"!**/dist",
"!**/out",
"!**/build",
"!**/node_modules",
"!**/target",
"!**/coverage",
"!**/*.env",
"!**/*.env.*",
"!**/apps/react/src/routeTree.gen.ts"
]
}
}