soroban-abacus-flashcards/apps/web/biome.jsonc

70 lines
1.7 KiB
Plaintext

{
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useButtonType": "off",
"noSvgWithoutTitle": "off",
"noLabelWithoutControl": "off",
"noStaticElementInteractions": "off",
"useKeyWithClickEvents": "off",
"useSemanticElements": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noImplicitAnyLet": "off",
"noAssignInExpressions": "off",
"useIterableCallbackReturn": "off"
},
"style": {
"useNodejsImportProtocol": "off",
"noNonNullAssertion": "off",
"noDescendingSpecificity": "off"
},
"correctness": {
"noUnusedVariables": "off",
"noUnusedFunctionParameters": "off",
"useUniqueElementIds": "off",
"noChildrenProp": "off",
"useExhaustiveDependencies": "off",
"noInvalidUseBeforeDeclaration": "off",
"useHookAtTopLevel": "off",
"noNestedComponentDefinitions": "off",
"noUnreachable": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"performance": {
"noAccumulatingSpread": "off"
}
}
},
"files": {
"ignoreUnknown": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
}
}