|
1 | 1 | { |
2 | | - "$schema": "https://biomejs.dev/schemas/2.4.10/schema.json", |
3 | | - "vcs": { |
4 | | - "enabled": true, |
5 | | - "clientKind": "git", |
6 | | - "useIgnoreFile": true |
7 | | - }, |
8 | | - "files": { |
9 | | - "includes": ["**", "!!**/dist", "!!**/packages/@ant"] |
10 | | - }, |
11 | | - "formatter": { |
12 | | - "enabled": true, |
13 | | - "indentStyle": "space", |
14 | | - "indentWidth": 2, |
15 | | - "lineWidth": 80 |
16 | | - }, |
17 | | - "linter": { |
18 | | - "enabled": true, |
19 | | - "rules": { |
20 | | - "recommended": true, |
21 | | - "suspicious": { |
22 | | - "noExplicitAny": "off", |
23 | | - "noAssignInExpressions": "off", |
24 | | - "noDoubleEquals": "off", |
25 | | - "noRedeclare": "off", |
26 | | - "noImplicitAnyLet": "off", |
27 | | - "noGlobalIsNan": "off", |
28 | | - "noFallthroughSwitchClause": "off", |
29 | | - "noShadowRestrictedNames": "off", |
30 | | - "noArrayIndexKey": "off", |
31 | | - "noConsole": "off", |
32 | | - "noConfusingLabels": "off", |
33 | | - "useIterableCallbackReturn": "off" |
34 | | - }, |
35 | | - "style": { |
36 | | - "useConst": "off", |
37 | | - "noNonNullAssertion": "off", |
38 | | - "noParameterAssign": "off", |
39 | | - "useDefaultParameterLast": "off", |
40 | | - "noUnusedTemplateLiteral": "off", |
41 | | - "useTemplate": "off", |
42 | | - "useNumberNamespace": "off", |
43 | | - "useNodejsImportProtocol": "off", |
44 | | - "useImportType": "off" |
45 | | - }, |
46 | | - "complexity": { |
47 | | - "noForEach": "off", |
48 | | - "noBannedTypes": "off", |
49 | | - "noUselessConstructor": "off", |
50 | | - "noStaticOnlyClass": "off", |
51 | | - "useOptionalChain": "off", |
52 | | - "noUselessSwitchCase": "off", |
53 | | - "noUselessFragments": "off", |
54 | | - "noUselessTernary": "off", |
55 | | - "noUselessLoneBlockStatements": "off", |
56 | | - "noUselessEmptyExport": "off", |
57 | | - "useArrowFunction": "off", |
58 | | - "useLiteralKeys": "off" |
59 | | - }, |
60 | | - "correctness": { |
61 | | - "noUnusedVariables": "off", |
62 | | - "noUnusedImports": "off", |
63 | | - "useExhaustiveDependencies": "off", |
64 | | - "noSwitchDeclarations": "off", |
65 | | - "noUnreachable": "off", |
66 | | - "useHookAtTopLevel": "off", |
67 | | - "noVoidTypeReturn": "off", |
68 | | - "noConstantCondition": "off", |
69 | | - "noUnusedFunctionParameters": "off" |
70 | | - }, |
71 | | - "a11y": { |
72 | | - "recommended": false |
73 | | - }, |
74 | | - "nursery": { |
75 | | - "recommended": false |
76 | | - } |
77 | | - } |
78 | | - }, |
79 | | - "json": { |
80 | | - "formatter": { |
81 | | - "enabled": false |
82 | | - } |
83 | | - }, |
84 | | - "javascript": { |
85 | | - "formatter": { |
86 | | - "quoteStyle": "single", |
87 | | - "semicolons": "asNeeded", |
88 | | - "arrowParentheses": "asNeeded", |
89 | | - "trailingCommas": "all" |
90 | | - } |
91 | | - }, |
92 | | - "overrides": [ |
93 | | - { |
94 | | - "includes": ["**/*.tsx"], |
95 | | - "javascript": { |
96 | | - "formatter": { |
97 | | - "semicolons": "always" |
98 | | - } |
99 | | - }, |
100 | | - "formatter": { |
101 | | - "lineWidth": 120 |
102 | | - } |
103 | | - }, |
104 | | - { |
105 | | - "includes": ["scripts/**", "packages/**", "**/*.js", "**/*.mjs", "**/*.jsx"], |
106 | | - "formatter": { |
107 | | - "enabled": false |
108 | | - } |
109 | | - } |
110 | | - ], |
111 | | - "assist": { |
112 | | - "enabled": false |
113 | | - } |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.4.10/schema.json", |
| 3 | + "vcs": { |
| 4 | + "enabled": true, |
| 5 | + "clientKind": "git", |
| 6 | + "useIgnoreFile": true |
| 7 | + }, |
| 8 | + "files": { |
| 9 | + "includes": [ |
| 10 | + "**", |
| 11 | + "!!**/dist", |
| 12 | + "!!**/packages/@ant" |
| 13 | + ] |
| 14 | + }, |
| 15 | + "formatter": { |
| 16 | + "enabled": true, |
| 17 | + "indentStyle": "space", |
| 18 | + "indentWidth": 2, |
| 19 | + "lineWidth": 80 |
| 20 | + }, |
| 21 | + "linter": { |
| 22 | + "enabled": true, |
| 23 | + "rules": { |
| 24 | + "recommended": true, |
| 25 | + "suspicious": { |
| 26 | + "noExplicitAny": "off", |
| 27 | + "noAssignInExpressions": "off", |
| 28 | + "noDoubleEquals": "off", |
| 29 | + "noRedeclare": "off", |
| 30 | + "noImplicitAnyLet": "off", |
| 31 | + "noGlobalIsNan": "off", |
| 32 | + "noFallthroughSwitchClause": "off", |
| 33 | + "noShadowRestrictedNames": "off", |
| 34 | + "noArrayIndexKey": "off", |
| 35 | + "noConsole": "off", |
| 36 | + "noConfusingLabels": "off", |
| 37 | + "useIterableCallbackReturn": "off", |
| 38 | + "noControlCharactersInRegex": "off", |
| 39 | + "noSelfCompare": "off", |
| 40 | + "noTemplateCurlyInString": "off", |
| 41 | + "noAsyncPromiseExecutor": "off" |
| 42 | + }, |
| 43 | + "style": { |
| 44 | + "useConst": "off", |
| 45 | + "noNonNullAssertion": "off", |
| 46 | + "noParameterAssign": "off", |
| 47 | + "useDefaultParameterLast": "off", |
| 48 | + "noUnusedTemplateLiteral": "off", |
| 49 | + "useTemplate": "off", |
| 50 | + "useNumberNamespace": "off", |
| 51 | + "useNodejsImportProtocol": "off", |
| 52 | + "useImportType": "off" |
| 53 | + }, |
| 54 | + "complexity": { |
| 55 | + "noForEach": "off", |
| 56 | + "noBannedTypes": "off", |
| 57 | + "noUselessConstructor": "off", |
| 58 | + "noStaticOnlyClass": "off", |
| 59 | + "useOptionalChain": "off", |
| 60 | + "noUselessSwitchCase": "off", |
| 61 | + "noUselessFragments": "off", |
| 62 | + "noUselessTernary": "off", |
| 63 | + "noUselessLoneBlockStatements": "off", |
| 64 | + "noUselessEmptyExport": "off", |
| 65 | + "useArrowFunction": "off", |
| 66 | + "useLiteralKeys": "off" |
| 67 | + }, |
| 68 | + "correctness": { |
| 69 | + "noUnusedVariables": "off", |
| 70 | + "noUnusedImports": "off", |
| 71 | + "useExhaustiveDependencies": "off", |
| 72 | + "noSwitchDeclarations": "off", |
| 73 | + "noUnreachable": "off", |
| 74 | + "useHookAtTopLevel": "off", |
| 75 | + "noVoidTypeReturn": "off", |
| 76 | + "noConstantCondition": "off", |
| 77 | + "noUnusedFunctionParameters": "off", |
| 78 | + "useYield": "off", |
| 79 | + "noUnusedPrivateClassMembers": "off", |
| 80 | + "noUnusedLabels": "off" |
| 81 | + }, |
| 82 | + "a11y": { |
| 83 | + "recommended": false |
| 84 | + }, |
| 85 | + "nursery": { |
| 86 | + "recommended": false |
| 87 | + }, |
| 88 | + "security": { |
| 89 | + "noDangerouslySetInnerHtml": "off" |
| 90 | + } |
| 91 | + } |
| 92 | + }, |
| 93 | + "json": { |
| 94 | + "formatter": { |
| 95 | + "enabled": false |
| 96 | + } |
| 97 | + }, |
| 98 | + "javascript": { |
| 99 | + "formatter": { |
| 100 | + "quoteStyle": "single", |
| 101 | + "semicolons": "asNeeded", |
| 102 | + "arrowParentheses": "asNeeded", |
| 103 | + "trailingCommas": "all" |
| 104 | + } |
| 105 | + }, |
| 106 | + "overrides": [ |
| 107 | + { |
| 108 | + "includes": [ |
| 109 | + "**/*.tsx" |
| 110 | + ], |
| 111 | + "javascript": { |
| 112 | + "formatter": { |
| 113 | + "semicolons": "always" |
| 114 | + } |
| 115 | + }, |
| 116 | + "formatter": { |
| 117 | + "lineWidth": 120 |
| 118 | + } |
| 119 | + }, |
| 120 | + { |
| 121 | + "includes": [ |
| 122 | + "scripts/**", |
| 123 | + "packages/**", |
| 124 | + "**/*.js", |
| 125 | + "**/*.mjs", |
| 126 | + "**/*.jsx" |
| 127 | + ], |
| 128 | + "formatter": { |
| 129 | + "enabled": false |
| 130 | + } |
| 131 | + }, |
| 132 | + { |
| 133 | + "includes": [ |
| 134 | + "**/*.css" |
| 135 | + ], |
| 136 | + "linter": { |
| 137 | + "enabled": false |
| 138 | + } |
| 139 | + } |
| 140 | + ], |
| 141 | + "assist": { |
| 142 | + "enabled": false |
| 143 | + } |
114 | 144 | } |
0 commit comments