|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", |
| 3 | + "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, |
| 4 | + "files": { "ignoreUnknown": false }, |
| 5 | + "formatter": { "enabled": false, "indentStyle": "space" }, |
| 6 | + "linter": { |
| 7 | + "enabled": true, |
| 8 | + "rules": { |
| 9 | + "recommended": false, |
| 10 | + "complexity": { |
| 11 | + "noAdjacentSpacesInRegex": "off", |
| 12 | + "noCommaOperator": "warn", |
| 13 | + "noExtraBooleanCast": "warn", |
| 14 | + "noUselessLoneBlockStatements": "warn", |
| 15 | + "noUselessUndefinedInitialization": "off", |
| 16 | + "noVoid": "off", |
| 17 | + "useLiteralKeys": "off" |
| 18 | + }, |
| 19 | + "correctness": { |
| 20 | + "noConstantCondition": "warn", |
| 21 | + "noUnusedFunctionParameters": "off", |
| 22 | + "noGlobalObjectCalls": "off", |
| 23 | + "noInnerDeclarations": "off", |
| 24 | + "noInvalidUseBeforeDeclaration": "warn", |
| 25 | + "noUndeclaredVariables": "off", |
| 26 | + "noUnreachable": "error", |
| 27 | + "noUnusedVariables": "warn", |
| 28 | + "useIsNan": "off", |
| 29 | + "useParseIntRadix": "error", |
| 30 | + "useValidTypeof": "off" |
| 31 | + }, |
| 32 | + "security": { "noGlobalEval": "error" }, |
| 33 | + "style": { |
| 34 | + "noNestedTernary": "off", |
| 35 | + "noYodaExpression": "error", |
| 36 | + "useArrayLiterals": "off", |
| 37 | + "useBlockStatements": "warn", |
| 38 | + "useCollapsedElseIf": "off", |
| 39 | + "useConsistentBuiltinInstantiation": "warn", |
| 40 | + "useDefaultSwitchClause": "off", |
| 41 | + "useShorthandAssign": "off", |
| 42 | + "useSingleVarDeclarator": "off" |
| 43 | + }, |
| 44 | + "suspicious": { |
| 45 | + "noAlert": "warn", |
| 46 | + "noCatchAssign": "off", |
| 47 | + "noConsole": "off", |
| 48 | + "noControlCharactersInRegex": "off", |
| 49 | + "noDebugger": "off", |
| 50 | + "noDoubleEquals": "off", |
| 51 | + "noDuplicateObjectKeys": "error", |
| 52 | + "noEmptyBlockStatements": "warn", |
| 53 | + "noFallthroughSwitchClause": "off", |
| 54 | + "noFunctionAssign": "off", |
| 55 | + "noIrregularWhitespace": "warn", |
| 56 | + "noLabelVar": "error", |
| 57 | + "noOctalEscape": "off", |
| 58 | + "noRedeclare": "warn", |
| 59 | + "noSelfCompare": "warn", |
| 60 | + "noShadowRestrictedNames": "off", |
| 61 | + "noSparseArray": "warn", |
| 62 | + "noVar": "warn", |
| 63 | + "noWith": "off", |
| 64 | + "useGuardForIn": "off" |
| 65 | + } |
| 66 | + } |
| 67 | + }, |
| 68 | + "javascript": { "formatter": { "quoteStyle": "single" }, "globals": ["_"] }, |
| 69 | + "assist": { |
| 70 | + "enabled": true, |
| 71 | + "actions": { "source": { "organizeImports": "on" } } |
| 72 | + } |
| 73 | +} |
0 commit comments