|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
| 3 | + "assist": { |
| 4 | + "actions": { |
| 5 | + "source": { |
| 6 | + "organizeImports": "on", |
| 7 | + "useSortedAttributes": "on", |
| 8 | + "useSortedProperties": "on" |
| 9 | + } |
| 10 | + } |
| 11 | + }, |
| 12 | + "formatter": { |
| 13 | + "lineWidth": 100, |
| 14 | + "formatWithErrors": true |
| 15 | + }, |
| 16 | + "javascript": { |
| 17 | + "formatter": { |
| 18 | + "enabled": true |
| 19 | + } |
| 20 | + }, |
| 21 | + "linter": { |
| 22 | + "rules": { |
| 23 | + "complexity": { |
| 24 | + "noForEach": "on", |
| 25 | + "noThisInStatic": "off", |
| 26 | + "noVoid": "off", |
| 27 | + "useSimplifiedLogicExpression": "on" |
| 28 | + }, |
| 29 | + "correctness": { |
| 30 | + "noUndeclaredDependencies": "on", |
| 31 | + "useJsxKeyInIterable": "on" |
| 32 | + }, |
| 33 | + "nursery": { |
| 34 | + "noFloatingPromises": "on" |
| 35 | + }, |
| 36 | + "performance": { |
| 37 | + "noBarrelFile": "on", |
| 38 | + "noDelete": "on" |
| 39 | + }, |
| 40 | + "style": { |
| 41 | + "noInferrableTypes": "error", |
| 42 | + "noNegationElse": "error", |
| 43 | + "noNonNullAssertion": "off", |
| 44 | + "noParameterAssign": "error", |
| 45 | + "noUnusedTemplateLiteral": "error", |
| 46 | + "noUselessElse": "error", |
| 47 | + "noYodaExpression": "error", |
| 48 | + "useAsConstAssertion": "error", |
| 49 | + "useBlockStatements": "error", |
| 50 | + "useCollapsedElseIf": "error", |
| 51 | + "useCollapsedIf": "error", |
| 52 | + "useConsistentArrayType": "error", |
| 53 | + "useConsistentCurlyBraces": "error", |
| 54 | + "useConsistentMemberAccessibility": { |
| 55 | + "level": "error", |
| 56 | + "options": { |
| 57 | + "accessibility": "explicit" |
| 58 | + } |
| 59 | + }, |
| 60 | + "useDefaultParameterLast": "error", |
| 61 | + "useEnumInitializers": "error", |
| 62 | + "useExplicitLengthCheck": "error", |
| 63 | + "useForOf": "error", |
| 64 | + "useFragmentSyntax": "error", |
| 65 | + "useNamingConvention": "off", |
| 66 | + "useNumberNamespace": "error", |
| 67 | + "useSelfClosingElements": "error", |
| 68 | + "useShorthandAssign": "error", |
| 69 | + "useSingleVarDeclarator": "error" |
| 70 | + }, |
| 71 | + "suspicious": { |
| 72 | + "noAlert": "error", |
| 73 | + "noConstantBinaryExpressions": "on", |
| 74 | + "noConstEnum": "off" |
| 75 | + } |
| 76 | + } |
| 77 | + }, |
| 78 | + "vcs": { |
| 79 | + "clientKind": "git", |
| 80 | + "defaultBranch": "main", |
| 81 | + "enabled": true, |
| 82 | + "useIgnoreFile": true |
| 83 | + } |
| 84 | +} |
0 commit comments