@quentinhsu/biome-config 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.mjs +59 -59
- package/dist/index.jsonc +56 -56
- package/dist/index.mjs +59 -59
- package/dist/next.jsonc +60 -60
- package/dist/nuxt.jsonc +91 -91
- package/dist/react.jsonc +58 -58
- package/dist/types/src/constants/biome.d.ts +1 -1
- package/dist/types/src/generated/biome/index.d.ts +10 -9
- package/dist/types/src/generated/biome/linter-configuration.d.ts +181 -0
- package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +25 -24
- package/dist/types/src/generated/biome/{no-misrefactored-shorthand-assign-options.d.ts → no-label-var-options.d.ts} +55 -95
- package/dist/types/src/generated/biome/{no-non-null-assertion-options.d.ts → no-magic-numbers-options.d.ts} +17 -17
- package/dist/types/src/generated/biome/{rule-with-no-document-import-in-page-options.d.ts → rule-with-no-confusing-labels-options.d.ts} +175 -87
- package/dist/types/src/generated/biome/{rule-with-no-implicit-coercions-options.d.ts → rule-with-no-excessive-nested-test-suites-options.d.ts} +182 -182
- package/dist/types/src/generated/biome/{use-consistent-arrow-return-options.d.ts → rule-with-no-unused-expressions-options.d.ts} +202 -206
- package/dist/types/src/generated/biome/schema.d.ts +11 -11
- package/dist/types/src/generated/biome/{nursery.d.ts → use-consistent-object-definitions-configuration.d.ts} +473 -192
- package/dist/types/src/generated/biome/{use-semantic-elements-configuration.d.ts → use-focusable-interactive-configuration.d.ts} +16 -16
- package/dist/types/src/generated/biome/{no-empty-source-configuration.d.ts → use-qwik-classlist-configuration.d.ts} +26 -26
- package/dist/types/src/generated/biome/{no-assign-in-expressions-configuration.d.ts → use-shorthand-assign-configuration.d.ts} +19 -450
- package/dist/types/src/index.d.ts +2 -2
- package/dist/vue.jsonc +60 -60
- package/package.json +34 -34
package/dist/next.jsonc
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.3.
|
|
3
|
-
"root": true,
|
|
4
|
-
"vcs": {
|
|
5
|
-
"enabled": true,
|
|
6
|
-
"clientKind": "git",
|
|
7
|
-
"useIgnoreFile": true,
|
|
8
|
-
"defaultBranch": "main"
|
|
9
|
-
},
|
|
10
|
-
"files": {
|
|
11
|
-
"ignoreUnknown": true,
|
|
12
|
-
"includes": [
|
|
13
|
-
"**",
|
|
14
|
-
"!**/build",
|
|
15
|
-
"!**/dist",
|
|
16
|
-
"!**/.next",
|
|
17
|
-
"!**/.storybook",
|
|
18
|
-
"!**/.vercel",
|
|
19
|
-
"!**/out"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"formatter": {
|
|
23
|
-
"enabled": true,
|
|
24
|
-
"indentStyle": "space",
|
|
25
|
-
"lineWidth": 140,
|
|
26
|
-
"formatWithErrors": true
|
|
27
|
-
},
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
|
28
3
|
"assist": {
|
|
29
4
|
"actions": {
|
|
30
5
|
"source": {
|
|
@@ -45,20 +20,46 @@
|
|
|
45
20
|
]
|
|
46
21
|
}
|
|
47
22
|
},
|
|
48
|
-
"useSortedKeys": "on",
|
|
49
23
|
"useSortedAttributes": {
|
|
50
24
|
"level": "on",
|
|
51
25
|
"options": {
|
|
52
26
|
"sortOrder": "natural"
|
|
53
27
|
}
|
|
54
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"useSortedKeys": "on"
|
|
55
30
|
}
|
|
56
31
|
}
|
|
57
32
|
},
|
|
33
|
+
"files": {
|
|
34
|
+
"ignoreUnknown": true,
|
|
35
|
+
"includes": [
|
|
36
|
+
"**",
|
|
37
|
+
"!**/build",
|
|
38
|
+
"!**/dist",
|
|
39
|
+
"!**/.next",
|
|
40
|
+
"!**/.storybook",
|
|
41
|
+
"!**/.vercel",
|
|
42
|
+
"!**/out"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"formatter": {
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"formatWithErrors": true,
|
|
48
|
+
"indentStyle": "space",
|
|
49
|
+
"lineWidth": 140
|
|
50
|
+
},
|
|
51
|
+
"javascript": {
|
|
52
|
+
"formatter": {
|
|
53
|
+
"arrowParentheses": "asNeeded",
|
|
54
|
+
"jsxQuoteStyle": "single",
|
|
55
|
+
"quoteStyle": "single",
|
|
56
|
+
"trailingCommas": "all"
|
|
57
|
+
},
|
|
58
|
+
"jsxRuntime": "transparent"
|
|
59
|
+
},
|
|
58
60
|
"linter": {
|
|
59
61
|
"enabled": true,
|
|
60
62
|
"rules": {
|
|
61
|
-
"recommended": true,
|
|
62
63
|
"complexity": {
|
|
63
64
|
"noUselessStringConcat": "error",
|
|
64
65
|
"noUselessUndefinedInitialization": "error",
|
|
@@ -68,64 +69,56 @@
|
|
|
68
69
|
"correctness": {
|
|
69
70
|
"noConstantMathMinMaxClamp": "error",
|
|
70
71
|
"noUndeclaredVariables": "error",
|
|
71
|
-
"noUnusedImports": "error",
|
|
72
72
|
"noUnusedFunctionParameters": "error",
|
|
73
|
+
"noUnusedImports": "error",
|
|
73
74
|
"noUnusedPrivateClassMembers": "error",
|
|
75
|
+
"noUnusedVariables": "error",
|
|
74
76
|
"useExhaustiveDependencies": {
|
|
75
77
|
"level": "error",
|
|
76
78
|
"options": {
|
|
77
79
|
"reportUnnecessaryDependencies": true
|
|
78
80
|
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"nursery": {
|
|
84
|
+
"useSortedClasses": {
|
|
85
|
+
"fix": "safe",
|
|
86
|
+
"level": "error",
|
|
87
|
+
"options": {
|
|
88
|
+
"functions": [
|
|
89
|
+
"clsx",
|
|
90
|
+
"cn"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
81
94
|
},
|
|
95
|
+
"recommended": true,
|
|
82
96
|
"style": {
|
|
83
97
|
"noParameterProperties": "error",
|
|
84
98
|
"noYodaExpression": "error",
|
|
99
|
+
"useArrayLiterals": "error",
|
|
85
100
|
"useConsistentBuiltinInstantiation": "error",
|
|
86
101
|
"useFragmentSyntax": "error",
|
|
87
102
|
"useImportType": {
|
|
88
|
-
"level": "error",
|
|
89
103
|
"fix": "safe",
|
|
104
|
+
"level": "error",
|
|
90
105
|
"options": {
|
|
91
106
|
"style": "separatedType"
|
|
92
107
|
}
|
|
93
108
|
},
|
|
94
109
|
"useSelfClosingElements": {
|
|
95
|
-
"level": "error",
|
|
96
110
|
"fix": "safe",
|
|
111
|
+
"level": "error",
|
|
97
112
|
"options": {}
|
|
98
113
|
},
|
|
99
|
-
"useShorthandAssign": "error"
|
|
100
|
-
"useArrayLiterals": "error"
|
|
101
|
-
},
|
|
102
|
-
"nursery": {
|
|
103
|
-
"useSortedClasses": {
|
|
104
|
-
"level": "error",
|
|
105
|
-
"fix": "safe",
|
|
106
|
-
"options": {
|
|
107
|
-
"functions": [
|
|
108
|
-
"clsx",
|
|
109
|
-
"cn"
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
}
|
|
114
|
+
"useShorthandAssign": "error"
|
|
113
115
|
},
|
|
114
116
|
"suspicious": {
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
+
"noEvolvingTypes": "error",
|
|
118
|
+
"useAwait": "error"
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
},
|
|
120
|
-
"javascript": {
|
|
121
|
-
"formatter": {
|
|
122
|
-
"quoteStyle": "single",
|
|
123
|
-
"jsxQuoteStyle": "single",
|
|
124
|
-
"arrowParentheses": "asNeeded",
|
|
125
|
-
"trailingCommas": "all"
|
|
126
|
-
},
|
|
127
|
-
"jsxRuntime": "transparent"
|
|
128
|
-
},
|
|
129
122
|
"overrides": [
|
|
130
123
|
{
|
|
131
124
|
"includes": [
|
|
@@ -166,5 +159,12 @@
|
|
|
166
159
|
}
|
|
167
160
|
}
|
|
168
161
|
}
|
|
169
|
-
]
|
|
162
|
+
],
|
|
163
|
+
"root": true,
|
|
164
|
+
"vcs": {
|
|
165
|
+
"clientKind": "git",
|
|
166
|
+
"defaultBranch": "main",
|
|
167
|
+
"enabled": true,
|
|
168
|
+
"useIgnoreFile": true
|
|
169
|
+
}
|
|
170
170
|
}
|
package/dist/nuxt.jsonc
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.3.
|
|
3
|
-
"root": true,
|
|
4
|
-
"vcs": {
|
|
5
|
-
"enabled": true,
|
|
6
|
-
"clientKind": "git",
|
|
7
|
-
"useIgnoreFile": true,
|
|
8
|
-
"defaultBranch": "main"
|
|
9
|
-
},
|
|
10
|
-
"files": {
|
|
11
|
-
"ignoreUnknown": true,
|
|
12
|
-
"includes": [
|
|
13
|
-
"**",
|
|
14
|
-
"!**/build",
|
|
15
|
-
"!**/dist",
|
|
16
|
-
"!**/.next",
|
|
17
|
-
"!**/.vitepress",
|
|
18
|
-
"!**/.output",
|
|
19
|
-
"!**/.nuxt",
|
|
20
|
-
"!**/.nitro"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"formatter": {
|
|
24
|
-
"enabled": true,
|
|
25
|
-
"indentStyle": "space",
|
|
26
|
-
"lineWidth": 140,
|
|
27
|
-
"formatWithErrors": true
|
|
28
|
-
},
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
|
29
3
|
"assist": {
|
|
30
4
|
"actions": {
|
|
31
5
|
"source": {
|
|
@@ -46,83 +20,40 @@
|
|
|
46
20
|
]
|
|
47
21
|
}
|
|
48
22
|
},
|
|
49
|
-
"useSortedKeys": "on",
|
|
50
23
|
"useSortedAttributes": {
|
|
51
24
|
"level": "on",
|
|
52
25
|
"options": {
|
|
53
26
|
"sortOrder": "natural"
|
|
54
27
|
}
|
|
55
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"useSortedKeys": "on"
|
|
56
30
|
}
|
|
57
31
|
}
|
|
58
32
|
},
|
|
59
|
-
"
|
|
33
|
+
"files": {
|
|
34
|
+
"ignoreUnknown": true,
|
|
35
|
+
"includes": [
|
|
36
|
+
"**",
|
|
37
|
+
"!**/build",
|
|
38
|
+
"!**/dist",
|
|
39
|
+
"!**/.next",
|
|
40
|
+
"!**/.vitepress",
|
|
41
|
+
"!**/.output",
|
|
42
|
+
"!**/.nuxt",
|
|
43
|
+
"!**/.nitro"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"formatter": {
|
|
60
47
|
"enabled": true,
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"noUselessStringConcat": "error",
|
|
65
|
-
"noUselessUndefinedInitialization": "error",
|
|
66
|
-
"noVoid": "error",
|
|
67
|
-
"useDateNow": "error"
|
|
68
|
-
},
|
|
69
|
-
"correctness": {
|
|
70
|
-
"noConstantMathMinMaxClamp": "error",
|
|
71
|
-
"noUndeclaredVariables": "error",
|
|
72
|
-
"noUnusedImports": "error",
|
|
73
|
-
"noUnusedFunctionParameters": "error",
|
|
74
|
-
"noUnusedPrivateClassMembers": "error",
|
|
75
|
-
"useExhaustiveDependencies": {
|
|
76
|
-
"level": "error",
|
|
77
|
-
"options": {
|
|
78
|
-
"reportUnnecessaryDependencies": false
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"noUnusedVariables": "error"
|
|
82
|
-
},
|
|
83
|
-
"style": {
|
|
84
|
-
"noParameterProperties": "error",
|
|
85
|
-
"noYodaExpression": "error",
|
|
86
|
-
"useConsistentBuiltinInstantiation": "error",
|
|
87
|
-
"useFragmentSyntax": "error",
|
|
88
|
-
"useImportType": {
|
|
89
|
-
"level": "error",
|
|
90
|
-
"fix": "safe",
|
|
91
|
-
"options": {
|
|
92
|
-
"style": "separatedType"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"useSelfClosingElements": {
|
|
96
|
-
"level": "error",
|
|
97
|
-
"fix": "safe",
|
|
98
|
-
"options": {}
|
|
99
|
-
},
|
|
100
|
-
"useShorthandAssign": "error",
|
|
101
|
-
"useArrayLiterals": "error"
|
|
102
|
-
},
|
|
103
|
-
"nursery": {
|
|
104
|
-
"useSortedClasses": {
|
|
105
|
-
"level": "error",
|
|
106
|
-
"fix": "safe",
|
|
107
|
-
"options": {
|
|
108
|
-
"functions": [
|
|
109
|
-
"clsx",
|
|
110
|
-
"cn"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"suspicious": {
|
|
116
|
-
"useAwait": "error",
|
|
117
|
-
"noEvolvingTypes": "error"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
48
|
+
"formatWithErrors": true,
|
|
49
|
+
"indentStyle": "space",
|
|
50
|
+
"lineWidth": 140
|
|
120
51
|
},
|
|
121
52
|
"javascript": {
|
|
122
53
|
"formatter": {
|
|
123
|
-
"quoteStyle": "single",
|
|
124
|
-
"jsxQuoteStyle": "single",
|
|
125
54
|
"arrowParentheses": "asNeeded",
|
|
55
|
+
"jsxQuoteStyle": "single",
|
|
56
|
+
"quoteStyle": "single",
|
|
126
57
|
"trailingCommas": "all"
|
|
127
58
|
},
|
|
128
59
|
"parser": {
|
|
@@ -163,6 +94,68 @@
|
|
|
163
94
|
"useRequestHeaders"
|
|
164
95
|
]
|
|
165
96
|
},
|
|
97
|
+
"linter": {
|
|
98
|
+
"enabled": true,
|
|
99
|
+
"rules": {
|
|
100
|
+
"complexity": {
|
|
101
|
+
"noUselessStringConcat": "error",
|
|
102
|
+
"noUselessUndefinedInitialization": "error",
|
|
103
|
+
"noVoid": "error",
|
|
104
|
+
"useDateNow": "error"
|
|
105
|
+
},
|
|
106
|
+
"correctness": {
|
|
107
|
+
"noConstantMathMinMaxClamp": "error",
|
|
108
|
+
"noUndeclaredVariables": "error",
|
|
109
|
+
"noUnusedFunctionParameters": "error",
|
|
110
|
+
"noUnusedImports": "error",
|
|
111
|
+
"noUnusedPrivateClassMembers": "error",
|
|
112
|
+
"noUnusedVariables": "error",
|
|
113
|
+
"useExhaustiveDependencies": {
|
|
114
|
+
"level": "error",
|
|
115
|
+
"options": {
|
|
116
|
+
"reportUnnecessaryDependencies": false
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"nursery": {
|
|
121
|
+
"useSortedClasses": {
|
|
122
|
+
"fix": "safe",
|
|
123
|
+
"level": "error",
|
|
124
|
+
"options": {
|
|
125
|
+
"functions": [
|
|
126
|
+
"clsx",
|
|
127
|
+
"cn"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"recommended": true,
|
|
133
|
+
"style": {
|
|
134
|
+
"noParameterProperties": "error",
|
|
135
|
+
"noYodaExpression": "error",
|
|
136
|
+
"useArrayLiterals": "error",
|
|
137
|
+
"useConsistentBuiltinInstantiation": "error",
|
|
138
|
+
"useFragmentSyntax": "error",
|
|
139
|
+
"useImportType": {
|
|
140
|
+
"fix": "safe",
|
|
141
|
+
"level": "error",
|
|
142
|
+
"options": {
|
|
143
|
+
"style": "separatedType"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"useSelfClosingElements": {
|
|
147
|
+
"fix": "safe",
|
|
148
|
+
"level": "error",
|
|
149
|
+
"options": {}
|
|
150
|
+
},
|
|
151
|
+
"useShorthandAssign": "error"
|
|
152
|
+
},
|
|
153
|
+
"suspicious": {
|
|
154
|
+
"noEvolvingTypes": "error",
|
|
155
|
+
"useAwait": "error"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
166
159
|
"overrides": [
|
|
167
160
|
{
|
|
168
161
|
"includes": [
|
|
@@ -216,6 +209,13 @@
|
|
|
216
209
|
}
|
|
217
210
|
}
|
|
218
211
|
],
|
|
212
|
+
"root": true,
|
|
213
|
+
"vcs": {
|
|
214
|
+
"clientKind": "git",
|
|
215
|
+
"defaultBranch": "main",
|
|
216
|
+
"enabled": true,
|
|
217
|
+
"useIgnoreFile": true
|
|
218
|
+
},
|
|
219
219
|
"html": {
|
|
220
220
|
"formatter": {
|
|
221
221
|
"indentScriptAndStyle": true,
|
package/dist/react.jsonc
CHANGED
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.3.
|
|
3
|
-
"root": true,
|
|
4
|
-
"vcs": {
|
|
5
|
-
"enabled": true,
|
|
6
|
-
"clientKind": "git",
|
|
7
|
-
"useIgnoreFile": true,
|
|
8
|
-
"defaultBranch": "main"
|
|
9
|
-
},
|
|
10
|
-
"files": {
|
|
11
|
-
"ignoreUnknown": true,
|
|
12
|
-
"includes": [
|
|
13
|
-
"**",
|
|
14
|
-
"!**/build",
|
|
15
|
-
"!**/dist",
|
|
16
|
-
"!**/.next",
|
|
17
|
-
"!**/.storybook"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"formatter": {
|
|
21
|
-
"enabled": true,
|
|
22
|
-
"indentStyle": "space",
|
|
23
|
-
"lineWidth": 140,
|
|
24
|
-
"formatWithErrors": true
|
|
25
|
-
},
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
|
26
3
|
"assist": {
|
|
27
4
|
"actions": {
|
|
28
5
|
"source": {
|
|
@@ -43,20 +20,44 @@
|
|
|
43
20
|
]
|
|
44
21
|
}
|
|
45
22
|
},
|
|
46
|
-
"useSortedKeys": "on",
|
|
47
23
|
"useSortedAttributes": {
|
|
48
24
|
"level": "on",
|
|
49
25
|
"options": {
|
|
50
26
|
"sortOrder": "natural"
|
|
51
27
|
}
|
|
52
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"useSortedKeys": "on"
|
|
53
30
|
}
|
|
54
31
|
}
|
|
55
32
|
},
|
|
33
|
+
"files": {
|
|
34
|
+
"ignoreUnknown": true,
|
|
35
|
+
"includes": [
|
|
36
|
+
"**",
|
|
37
|
+
"!**/build",
|
|
38
|
+
"!**/dist",
|
|
39
|
+
"!**/.next",
|
|
40
|
+
"!**/.storybook"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"formatter": {
|
|
44
|
+
"enabled": true,
|
|
45
|
+
"formatWithErrors": true,
|
|
46
|
+
"indentStyle": "space",
|
|
47
|
+
"lineWidth": 140
|
|
48
|
+
},
|
|
49
|
+
"javascript": {
|
|
50
|
+
"formatter": {
|
|
51
|
+
"arrowParentheses": "asNeeded",
|
|
52
|
+
"jsxQuoteStyle": "single",
|
|
53
|
+
"quoteStyle": "single",
|
|
54
|
+
"trailingCommas": "all"
|
|
55
|
+
},
|
|
56
|
+
"jsxRuntime": "reactClassic"
|
|
57
|
+
},
|
|
56
58
|
"linter": {
|
|
57
59
|
"enabled": true,
|
|
58
60
|
"rules": {
|
|
59
|
-
"recommended": true,
|
|
60
61
|
"complexity": {
|
|
61
62
|
"noUselessStringConcat": "error",
|
|
62
63
|
"noUselessUndefinedInitialization": "error",
|
|
@@ -66,64 +67,56 @@
|
|
|
66
67
|
"correctness": {
|
|
67
68
|
"noConstantMathMinMaxClamp": "error",
|
|
68
69
|
"noUndeclaredVariables": "error",
|
|
69
|
-
"noUnusedImports": "error",
|
|
70
70
|
"noUnusedFunctionParameters": "error",
|
|
71
|
+
"noUnusedImports": "error",
|
|
71
72
|
"noUnusedPrivateClassMembers": "error",
|
|
73
|
+
"noUnusedVariables": "error",
|
|
72
74
|
"useExhaustiveDependencies": {
|
|
73
75
|
"level": "error",
|
|
74
76
|
"options": {
|
|
75
77
|
"reportUnnecessaryDependencies": false
|
|
76
78
|
}
|
|
77
|
-
}
|
|
78
|
-
"noUnusedVariables": "error"
|
|
79
|
+
}
|
|
79
80
|
},
|
|
81
|
+
"nursery": {
|
|
82
|
+
"useSortedClasses": {
|
|
83
|
+
"fix": "safe",
|
|
84
|
+
"level": "error",
|
|
85
|
+
"options": {
|
|
86
|
+
"functions": [
|
|
87
|
+
"clsx",
|
|
88
|
+
"cn"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"recommended": true,
|
|
80
94
|
"style": {
|
|
81
95
|
"noParameterProperties": "error",
|
|
82
96
|
"noYodaExpression": "error",
|
|
97
|
+
"useArrayLiterals": "error",
|
|
83
98
|
"useConsistentBuiltinInstantiation": "error",
|
|
84
99
|
"useFragmentSyntax": "error",
|
|
85
100
|
"useImportType": {
|
|
86
|
-
"level": "error",
|
|
87
101
|
"fix": "safe",
|
|
102
|
+
"level": "error",
|
|
88
103
|
"options": {
|
|
89
104
|
"style": "separatedType"
|
|
90
105
|
}
|
|
91
106
|
},
|
|
92
107
|
"useSelfClosingElements": {
|
|
93
|
-
"level": "error",
|
|
94
108
|
"fix": "safe",
|
|
109
|
+
"level": "error",
|
|
95
110
|
"options": {}
|
|
96
111
|
},
|
|
97
|
-
"useShorthandAssign": "error"
|
|
98
|
-
"useArrayLiterals": "error"
|
|
99
|
-
},
|
|
100
|
-
"nursery": {
|
|
101
|
-
"useSortedClasses": {
|
|
102
|
-
"level": "error",
|
|
103
|
-
"fix": "safe",
|
|
104
|
-
"options": {
|
|
105
|
-
"functions": [
|
|
106
|
-
"clsx",
|
|
107
|
-
"cn"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
}
|
|
112
|
+
"useShorthandAssign": "error"
|
|
111
113
|
},
|
|
112
114
|
"suspicious": {
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
+
"noEvolvingTypes": "error",
|
|
116
|
+
"useAwait": "error"
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
},
|
|
118
|
-
"javascript": {
|
|
119
|
-
"formatter": {
|
|
120
|
-
"quoteStyle": "single",
|
|
121
|
-
"jsxQuoteStyle": "single",
|
|
122
|
-
"arrowParentheses": "asNeeded",
|
|
123
|
-
"trailingCommas": "all"
|
|
124
|
-
},
|
|
125
|
-
"jsxRuntime": "reactClassic"
|
|
126
|
-
},
|
|
127
120
|
"overrides": [
|
|
128
121
|
{
|
|
129
122
|
"includes": [
|
|
@@ -164,5 +157,12 @@
|
|
|
164
157
|
}
|
|
165
158
|
}
|
|
166
159
|
}
|
|
167
|
-
]
|
|
160
|
+
],
|
|
161
|
+
"root": true,
|
|
162
|
+
"vcs": {
|
|
163
|
+
"clientKind": "git",
|
|
164
|
+
"defaultBranch": "main",
|
|
165
|
+
"enabled": true,
|
|
166
|
+
"useIgnoreFile": true
|
|
167
|
+
}
|
|
168
168
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BIOME_SCHEMA_URL: "https://biomejs.dev/schemas/2.3.
|
|
1
|
+
export declare const BIOME_SCHEMA_URL: "https://biomejs.dev/schemas/2.3.5/schema.json";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export * from './schema.ts';
|
|
2
2
|
export * from './no-global-object-calls-options.ts';
|
|
3
|
-
export * from './no-
|
|
4
|
-
export * from './no-
|
|
5
|
-
export * from './rule-with-no-
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './rule-with-no-
|
|
8
|
-
export * from './use-
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
3
|
+
export * from './no-magic-numbers-options.ts';
|
|
4
|
+
export * from './no-label-var-options.ts';
|
|
5
|
+
export * from './rule-with-no-excessive-nested-test-suites-options.ts';
|
|
6
|
+
export * from './rule-with-no-unused-expressions-options.ts';
|
|
7
|
+
export * from './rule-with-no-confusing-labels-options.ts';
|
|
8
|
+
export * from './use-focusable-interactive-configuration.ts';
|
|
9
|
+
export * from './use-qwik-classlist-configuration.ts';
|
|
10
|
+
export * from './use-shorthand-assign-configuration.ts';
|
|
11
|
+
export * from './use-consistent-object-definitions-configuration.ts';
|
|
12
|
+
export * from './linter-configuration.ts';
|