biome.json•1.72 kB
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", ".next", "dist", "meta", ".turbo", "routeTree.gen.ts"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"useAltText": "off",
"useSemanticElements": "warn",
"useFocusableInteractive": "warn"
},
"correctness": {
"recommended": true
},
"style": {
"recommended": true,
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "off",
"recommended": true
},
"performance": {
"recommended": true
},
"complexity": {
"recommended": true,
"noForEach": "off"
}
},
"ignore": ["node_modules", ".next", "dist", "meta", ".turbo", "routeTree.gen.ts"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"attributePosition": "auto",
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120,
"lineEnding": "lf",
"ignore": ["node_modules", ".next", "dist", "meta", ".turbo", "routeTree.gen.ts"]
},
"javascript": {
"formatter": {
"arrowParentheses": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"indentStyle": "tab",
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"semicolons": "asNeeded",
"trailingCommas": "all",
"quoteStyle": "double"
}
},
"json": {
"formatter": {
"trailingCommas": "none",
"indentStyle": "space"
},
"parser": {
"allowComments": true
}
}
}