60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"extends": [
|
|
"ultracite/biome/core",
|
|
"ultracite/biome/next",
|
|
"ultracite/biome/react"
|
|
],
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 2
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
"**/*.js",
|
|
"**/*.jsx",
|
|
"!node_modules",
|
|
"!.next",
|
|
"!ai-sdk",
|
|
"!components/ui",
|
|
"!lib/utils.ts",
|
|
"!hooks/use-mobile.ts"
|
|
]
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noUnknownAtRules": "off",
|
|
"noConsole": "off",
|
|
"noBitwiseOperators": "off"
|
|
},
|
|
"style": {
|
|
"noMagicNumbers": "off",
|
|
"noNestedTernary": "off",
|
|
"useConsistentTypeDefinitions": "off"
|
|
},
|
|
"nursery": {
|
|
"noUnnecessaryConditions": "off",
|
|
"useSortedClasses": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": "off",
|
|
"useSimplifiedLogicExpression": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off"
|
|
},
|
|
"correctness": {
|
|
"useUniqueElementIds": "off",
|
|
"useImageSize": "off"
|
|
},
|
|
"performance": {
|
|
"noBarrelFile": "off",
|
|
"useTopLevelRegex": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|