| 1 | { |
| 2 | "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json", |
| 3 | "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": false }, |
| 4 | "files": { |
| 5 | "ignoreUnknown": false |
| 6 | }, |
| 7 | "formatter": { "enabled": false }, |
| 8 | "assist": { |
| 9 | "enabled": false |
| 10 | }, |
| 11 | "linter": { |
| 12 | "enabled": true, |
| 13 | "rules": { |
| 14 | "recommended": true, |
| 15 | |
| 16 | "a11y": { |
| 17 | "useButtonType": "off", |
| 18 | "noLabelWithoutControl": "off", |
| 19 | "useAltText": "off", |
| 20 | "useFocusableInteractive": "off", |
| 21 | "noSvgWithoutTitle": "off", |
| 22 | "useAriaPropsSupportedByRole": "off", |
| 23 | "useKeyWithClickEvents": "off", |
| 24 | "useSemanticElements": "off", |
| 25 | "noStaticElementInteractions": "off", |
| 26 | "useKeyWithMouseEvents": "off", |
| 27 | "useAriaPropsForRole": "off", |
| 28 | "noAutofocus": "off", |
| 29 | "useIframeTitle": "off", |
| 30 | "useMediaCaption": "off", |
| 31 | "noRedundantRoles": "off", |
| 32 | "noRedundantAlt": "off", |
| 33 | "noNoninteractiveTabindex": "off" |
| 34 | }, |
| 35 | "complexity": { |
| 36 | "noExcessiveCognitiveComplexity": "off", |
| 37 | "useSimplifiedLogicExpression": "off" |
| 38 | }, |
| 39 | "correctness": { |
| 40 | "noUnusedVariables": "warn", |
| 41 | "useUniqueElementIds": "off", |
| 42 | "useExhaustiveDependencies": "off", |
| 43 | "noNestedComponentDefinitions": "off", |
| 44 | "noSwitchDeclarations": "off", |
| 45 | "noUnusedFunctionParameters": { |
| 46 | "level": "warn" |
| 47 | } |
| 48 | }, |
| 49 | "performance": { |
| 50 | "useTopLevelRegex": "off", |
| 51 | "noAccumulatingSpread": "off" |
| 52 | }, |
| 53 | "style": { |
| 54 | "useConsistentArrayType": "off", |
| 55 | "noMagicNumbers": "off", |
| 56 | "useNamingConvention": "off", |
| 57 | "useBlockStatements": "off", |
| 58 | "useFilenamingConvention": "off", |
| 59 | "useDefaultSwitchClause": "off", |
| 60 | "useImportType": { |
| 61 | "level": "warn", |
| 62 | "options": { "style": "inlineType" } |
| 63 | }, |
| 64 | "noNonNullAssertion": "off", |
| 65 | "noNestedTernary": "off", |
| 66 | "noUselessElse": "off", |
| 67 | "useTemplate": "off", |
| 68 | "useForOf": "off", |
| 69 | "noEnum": "off", |
| 70 | "noExportedImports": "off", |
| 71 | "noDescendingSpecificity": "off" |
| 72 | }, |
| 73 | "suspicious": { |
| 74 | "noEmptyInterface": "off", |
| 75 | "useAwait": "off", |
| 76 | "noArrayIndexKey": "off", |
| 77 | "noImplicitAnyLet": "off", |
| 78 | "useIterableCallbackReturn": "off", |
| 79 | "noDoubleEquals": "off", |
| 80 | "noShadowRestrictedNames": "off", |
| 81 | "noEmptyBlockStatements": "off", |
| 82 | "noUnknownAtRules": "off", |
| 83 | "noConsole": "off", |
| 84 | "noDocumentCookie": "off", |
| 85 | "noConfusingVoidType": "off" |
| 86 | }, |
| 87 | "nursery": { |
| 88 | "useConsistentArrowReturn": "off", |
| 89 | "noUselessUndefined": "off", |
| 90 | "noShadow": "off" |
| 91 | } |
| 92 | }, |
| 93 | "includes": [ |
| 94 | "**", |
| 95 | "!node_modules/**", |
| 96 | "!.next/**", |
| 97 | "!out/**", |
| 98 | "!build/**", |
| 99 | "!next-env.d.ts" |
| 100 | ] |
| 101 | } |
| 102 | } |
| 103 |