|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", |
| 3 | + "files": { |
| 4 | + "ignore": [ |
| 5 | + "**/*.bundle.js" |
| 6 | + ], |
| 7 | + "ignoreUnknown": false |
| 8 | + }, |
| 9 | + "formatter": { |
| 10 | + "enabled": true, |
| 11 | + "indentStyle": "tab", |
| 12 | + "indentWidth": 2, |
| 13 | + "lineEnding": "lf", |
| 14 | + "lineWidth": 240 |
| 15 | + }, |
| 16 | + "javascript": { |
| 17 | + "formatter": { |
| 18 | + "arrowParentheses": "asNeeded", |
| 19 | + "bracketSameLine": true, |
| 20 | + "quoteStyle": "double" |
| 21 | + } |
| 22 | + }, |
| 23 | + "json": { |
| 24 | + "parser": { |
| 25 | + "allowComments": true, |
| 26 | + "allowTrailingCommas": true |
| 27 | + } |
| 28 | + }, |
| 29 | + "linter": { |
| 30 | + "enabled": true, |
| 31 | + "rules": { |
| 32 | + "complexity": { |
| 33 | + "noForEach": "off", |
| 34 | + "noStaticOnlyClass": "off", |
| 35 | + "noUselessSwitchCase": "off", |
| 36 | + "useArrowFunction": "info", |
| 37 | + "useFlatMap": "off", |
| 38 | + "useLiteralKeys": "info" |
| 39 | + }, |
| 40 | + "correctness": { |
| 41 | + "noInnerDeclarations": "info", |
| 42 | + "noSelfAssign": "off", |
| 43 | + "noSwitchDeclarations": "info" |
| 44 | + }, |
| 45 | + "recommended": true, |
| 46 | + "style": { |
| 47 | + "noNegationElse": "off", |
| 48 | + "noParameterAssign": "off", |
| 49 | + "noUselessElse": "off", |
| 50 | + "noVar": "info", |
| 51 | + "useDefaultParameterLast": "info", |
| 52 | + "useForOf": "error", |
| 53 | + "useNodejsImportProtocol": "error", |
| 54 | + "useNumberNamespace": "error", |
| 55 | + "useSingleVarDeclarator": "off" |
| 56 | + }, |
| 57 | + "suspicious": { |
| 58 | + "noAssignInExpressions": "info", |
| 59 | + "noFallthroughSwitchClause": "info", |
| 60 | + "useDefaultSwitchClauseLast": "off" |
| 61 | + } |
| 62 | + } |
| 63 | + }, |
| 64 | + "organizeImports": { |
| 65 | + "enabled": true |
| 66 | + }, |
| 67 | + "vcs": { |
| 68 | + "clientKind": "git", |
| 69 | + "enabled": true, |
| 70 | + "useIgnoreFile": true |
| 71 | + } |
| 72 | +} |
0 commit comments