70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"files": {
|
|
"ignore": ["node_modules", "dist", "coverage", "components.d.ts"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 88
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noInferrableTypes": "off",
|
|
"noNonNullAssertion": "off",
|
|
"noParameterAssign": "off",
|
|
"noUselessElse": "off",
|
|
"useExponentiationOperator": "off",
|
|
"useSingleVarDeclarator": "off",
|
|
"useTemplate": "off",
|
|
"useConst": "off",
|
|
"useImportType": "off"
|
|
},
|
|
"suspicious": {
|
|
"noAssignInExpressions": "off",
|
|
"noDoubleEquals": "off",
|
|
"noExplicitAny": "off",
|
|
"noImplicitAnyLet": "off",
|
|
"noMisleadingCharacterClass": "off"
|
|
},
|
|
"complexity": {
|
|
"noBannedTypes": "off",
|
|
"useOptionalChain": "off"
|
|
},
|
|
"correctness": {
|
|
"noSwitchDeclarations": "off"
|
|
},
|
|
"a11y": {
|
|
"useGenericFontNames": "off"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["**/*.d.ts"],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noExplicitAny": "off"
|
|
},
|
|
"complexity": {
|
|
"noBannedTypes": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"semicolons": "asNeeded",
|
|
"trailingCommas": "none",
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
}
|
|
}
|