1
1
{
2
2
"$schema" : " https://biomejs.dev/schemas/1.5.3/schema.json" ,
3
3
"organizeImports" : {
4
- "enabled" : false
4
+ "enabled" : false
5
5
},
6
6
"linter" : {
7
- "enabled" : true ,
8
- "rules" : {
9
- "recommended" : true ,
10
- "suspicious" : {
11
- "noExplicitAny" : " warn" ,
12
- "noArrayIndexKey" : " warn" ,
13
- "noPrototypeBuiltins" : " warn" ,
14
- "noDuplicateObjectKeys" : " warn" ,
15
- "noGlobalIsNan" : " warn" ,
16
- "noDuplicateFontNames" : " warn" ,
17
- "noSelfCompare" : " warn" ,
18
- "noDoubleEquals" : " warn" ,
19
- "noImplicitAnyLet" : " warn" ,
20
- "noAssignInExpressions" : " warn" ,
21
- "noExportsInTest" : " warn" ,
22
- "noConstEnum" : " warn" ,
23
- "noEmptyInterface" : " warn"
7
+ "enabled" : true ,
8
+ "rules" : {
9
+ "recommended" : true ,
10
+ "suspicious" : {
11
+ "noExplicitAny" : " warn" ,
12
+ "noArrayIndexKey" : " warn" ,
13
+ "noPrototypeBuiltins" : " warn" ,
14
+ "noDuplicateObjectKeys" : " warn" ,
15
+ "noGlobalIsNan" : " warn" ,
16
+ "noDuplicateFontNames" : " warn" ,
17
+ "noSelfCompare" : " warn" ,
18
+ "noDoubleEquals" : " warn" ,
19
+ "noImplicitAnyLet" : " warn" ,
20
+ "noAssignInExpressions" : " warn" ,
21
+ "noExportsInTest" : " warn" ,
22
+ "noConstEnum" : " warn" ,
23
+ "noEmptyInterface" : " warn"
24
+ },
25
+ "correctness" : {
26
+ "noUnusedVariables" : " warn" ,
27
+ "noUnreachable" : " warn" ,
28
+ "useExhaustiveDependencies" : " warn" ,
29
+ "noSwitchDeclarations" : " warn" ,
30
+ "noUnnecessaryContinue" : " warn" ,
31
+ "noInnerDeclarations" : " warn"
32
+ },
33
+ "style" : {
34
+ "useConst" : " warn" ,
35
+ "useTemplate" : " warn" ,
36
+ "useImportType" : " warn" ,
37
+ "useNodejsImportProtocol" : " warn" ,
38
+ "noUselessElse" : " warn" ,
39
+ "useSelfClosingElements" : " warn" ,
40
+ "useNumberNamespace" : " warn" ,
41
+ "noUnusedTemplateLiteral" : " warn" ,
42
+ "noInferrableTypes" : " warn" ,
43
+ "noNonNullAssertion" : " warn" ,
44
+ "noParameterAssign" : " warn" ,
45
+ "useDefaultParameterLast" : " warn" ,
46
+ "useExponentiationOperator" : " warn" ,
47
+ "noVar" : " warn" ,
48
+ "useSingleVarDeclarator" : " warn" ,
49
+ "useExportType" : " warn"
50
+ },
51
+ "a11y" : {
52
+ "useAltText" : " warn" ,
53
+ "useFocusableInteractive" : " warn" ,
54
+ "useMediaCaption" : " warn" ,
55
+ "noSvgWithoutTitle" : " warn" ,
56
+ "useKeyWithClickEvents" : " warn"
57
+ },
58
+ "complexity" : {
59
+ "noForEach" : " warn" ,
60
+ "useOptionalChain" : " warn" ,
61
+ "useArrowFunction" : " warn" ,
62
+ "useFlatMap" : " warn" ,
63
+ "useLiteralKeys" : " warn" ,
64
+ "noBannedTypes" : " warn" ,
65
+ "noStaticOnlyClass" : " warn" ,
66
+ "noThisInStatic" : " warn" ,
67
+ "noUselessConstructor" : " warn" ,
68
+ "noUselessTernary" : " warn" ,
69
+ "noUselessSwitchCase" : " warn" ,
70
+ "noUselessCatch" : " warn"
71
+ },
72
+ "performance" : {
73
+ "noDelete" : " warn" ,
74
+ "noAccumulatingSpread" : " warn"
75
+ }
24
76
},
25
- "correctness" : {
26
- "noUnusedVariables" : " warn" ,
27
- "noUnreachable" : " warn" ,
28
- "useExhaustiveDependencies" : " warn" ,
29
- "noSwitchDeclarations" : " warn" ,
30
- "noUnnecessaryContinue" : " warn" ,
31
- "noInnerDeclarations" : " warn"
32
- },
33
- "style" : {
34
- "useConst" : " warn" ,
35
- "useTemplate" : " warn" ,
36
- "useImportType" : " warn" ,
37
- "useNodejsImportProtocol" : " warn" ,
38
- "noUselessElse" : " warn" ,
39
- "useSelfClosingElements" : " warn" ,
40
- "useNumberNamespace" : " warn" ,
41
- "noUnusedTemplateLiteral" : " warn" ,
42
- "noInferrableTypes" : " warn" ,
43
- "noNonNullAssertion" : " warn" ,
44
- "noParameterAssign" : " warn" ,
45
- "useDefaultParameterLast" : " warn" ,
46
- "useExponentiationOperator" : " warn" ,
47
- "noVar" : " warn" ,
48
- "useSingleVarDeclarator" : " warn" ,
49
- "useExportType" : " warn"
50
- },
51
- "a11y" : {
52
- "useAltText" : " warn" ,
53
- "useFocusableInteractive" : " warn" ,
54
- "useMediaCaption" : " warn" ,
55
- "noSvgWithoutTitle" : " warn" ,
56
- "useKeyWithClickEvents" : " warn"
57
- },
58
- "complexity" : {
59
- "noForEach" : " warn" ,
60
- "useOptionalChain" : " warn" ,
61
- "useArrowFunction" : " warn" ,
62
- "useFlatMap" : " warn" ,
63
- "useLiteralKeys" : " warn" ,
64
- "noBannedTypes" : " warn" ,
65
- "noStaticOnlyClass" : " warn" ,
66
- "noThisInStatic" : " warn" ,
67
- "noUselessConstructor" : " warn" ,
68
- "noUselessTernary" : " warn" ,
69
- "noUselessSwitchCase" : " warn" ,
70
- "noUselessCatch" : " warn"
71
- },
72
- "performance" : {
73
- "noDelete" : " warn" ,
74
- "noAccumulatingSpread" : " warn"
75
- }
76
- },
77
- "ignore" : [" **/dist/**" , " **/node_modules/**" , " **/coverage/**" , " **/*.json" ]
77
+ "ignore" : [
78
+ " **/dist/**" ,
79
+ " **/node_modules/**" ,
80
+ " **/coverage/**" ,
81
+ " **/*.json"
82
+ ]
78
83
},
79
84
"formatter" : {
80
- "enabled" : false
85
+ "enabled" : false
81
86
},
82
87
"javascript" : {
83
- "formatter" : {
84
- "quoteStyle" : " double" ,
85
- "semicolons" : " always"
86
- }
88
+ "parser" : {
89
+ "unsafeParameterDecoratorsEnabled" : true
90
+ },
91
+ "formatter" : {
92
+ "quoteStyle" : " double" ,
93
+ "semicolons" : " always"
94
+ }
87
95
}
88
- }
96
+ }
0 commit comments