@adbayb/stack 2.40.0-next-bab76dc → 2.40.0-next-bc8f858
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/configs/oxlint/index.ts +7 -1
- package/dist/configs/oxlint.d.ts +4 -0
- package/dist/configs/oxlint.js +7 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -42,7 +42,10 @@ const config = defineConfig({
|
|
|
42
42
|
"vitest/prefer-to-be-truthy": "off",
|
|
43
43
|
"vitest/require-mock-type-parameters": "off",
|
|
44
44
|
"vitest/require-test-timeout": "off",
|
|
45
|
-
"vitest/valid-title": [
|
|
45
|
+
"vitest/valid-title": [
|
|
46
|
+
"error",
|
|
47
|
+
{ mustMatch: { allowArguments: true, test: ["^should "] } },
|
|
48
|
+
],
|
|
46
49
|
},
|
|
47
50
|
},
|
|
48
51
|
{
|
|
@@ -208,6 +211,7 @@ const config = defineConfig({
|
|
|
208
211
|
"import/no-relative-parent-imports": "off",
|
|
209
212
|
"import/prefer-default-export": "off",
|
|
210
213
|
"import/unambiguous": "off",
|
|
214
|
+
"init-declarations": "off",
|
|
211
215
|
"jsdoc/require-param-type": "off",
|
|
212
216
|
"jsdoc/require-property-type": "off",
|
|
213
217
|
"jsdoc/require-returns-type": "off",
|
|
@@ -228,6 +232,7 @@ const config = defineConfig({
|
|
|
228
232
|
"no-inline-comments": "off",
|
|
229
233
|
"no-magic-numbers": "off",
|
|
230
234
|
"no-optional-chaining": "off",
|
|
235
|
+
"no-param-reassign": "off",
|
|
231
236
|
"no-rest-spread-properties": "off",
|
|
232
237
|
"no-ternary": "off",
|
|
233
238
|
"no-undef": "off",
|
|
@@ -263,6 +268,7 @@ const config = defineConfig({
|
|
|
263
268
|
"typescript/no-unsafe-type-assertion": "off",
|
|
264
269
|
"unicorn/filename-case": "off",
|
|
265
270
|
"unicorn/import-style": "off",
|
|
271
|
+
"unicorn/no-array-for-each": "off",
|
|
266
272
|
"unicorn/no-array-reduce": "off",
|
|
267
273
|
"unicorn/no-useless-undefined": "off",
|
|
268
274
|
},
|
package/dist/configs/oxlint.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ declare const config: {
|
|
|
34
34
|
"vitest/require-test-timeout": "off";
|
|
35
35
|
"vitest/valid-title": ["error", {
|
|
36
36
|
mustMatch: {
|
|
37
|
+
allowArguments: boolean;
|
|
37
38
|
test: string[];
|
|
38
39
|
};
|
|
39
40
|
}];
|
|
@@ -124,6 +125,7 @@ declare const config: {
|
|
|
124
125
|
"import/no-relative-parent-imports": "off";
|
|
125
126
|
"import/prefer-default-export": "off";
|
|
126
127
|
"import/unambiguous": "off";
|
|
128
|
+
"init-declarations": "off";
|
|
127
129
|
"jsdoc/require-param-type": "off";
|
|
128
130
|
"jsdoc/require-property-type": "off";
|
|
129
131
|
"jsdoc/require-returns-type": "off";
|
|
@@ -146,6 +148,7 @@ declare const config: {
|
|
|
146
148
|
"no-inline-comments": "off";
|
|
147
149
|
"no-magic-numbers": "off";
|
|
148
150
|
"no-optional-chaining": "off";
|
|
151
|
+
"no-param-reassign": "off";
|
|
149
152
|
"no-rest-spread-properties": "off";
|
|
150
153
|
"no-ternary": "off";
|
|
151
154
|
"no-undef": "off";
|
|
@@ -183,6 +186,7 @@ declare const config: {
|
|
|
183
186
|
"typescript/no-unsafe-type-assertion": "off";
|
|
184
187
|
"unicorn/filename-case": "off";
|
|
185
188
|
"unicorn/import-style": "off";
|
|
189
|
+
"unicorn/no-array-for-each": "off";
|
|
186
190
|
"unicorn/no-array-reduce": "off";
|
|
187
191
|
"unicorn/no-useless-undefined": "off";
|
|
188
192
|
};
|
package/dist/configs/oxlint.js
CHANGED
|
@@ -54,7 +54,10 @@ const config = defineConfig({
|
|
|
54
54
|
"vitest/prefer-to-be-truthy": "off",
|
|
55
55
|
"vitest/require-mock-type-parameters": "off",
|
|
56
56
|
"vitest/require-test-timeout": "off",
|
|
57
|
-
"vitest/valid-title": ["error", { mustMatch: {
|
|
57
|
+
"vitest/valid-title": ["error", { mustMatch: {
|
|
58
|
+
allowArguments: true,
|
|
59
|
+
test: ["^should "]
|
|
60
|
+
} }]
|
|
58
61
|
}
|
|
59
62
|
}, {
|
|
60
63
|
files: [
|
|
@@ -218,6 +221,7 @@ const config = defineConfig({
|
|
|
218
221
|
"import/no-relative-parent-imports": "off",
|
|
219
222
|
"import/prefer-default-export": "off",
|
|
220
223
|
"import/unambiguous": "off",
|
|
224
|
+
"init-declarations": "off",
|
|
221
225
|
"jsdoc/require-param-type": "off",
|
|
222
226
|
"jsdoc/require-property-type": "off",
|
|
223
227
|
"jsdoc/require-returns-type": "off",
|
|
@@ -238,6 +242,7 @@ const config = defineConfig({
|
|
|
238
242
|
"no-inline-comments": "off",
|
|
239
243
|
"no-magic-numbers": "off",
|
|
240
244
|
"no-optional-chaining": "off",
|
|
245
|
+
"no-param-reassign": "off",
|
|
241
246
|
"no-rest-spread-properties": "off",
|
|
242
247
|
"no-ternary": "off",
|
|
243
248
|
"no-undef": "off",
|
|
@@ -273,6 +278,7 @@ const config = defineConfig({
|
|
|
273
278
|
"typescript/no-unsafe-type-assertion": "off",
|
|
274
279
|
"unicorn/filename-case": "off",
|
|
275
280
|
"unicorn/import-style": "off",
|
|
281
|
+
"unicorn/no-array-for-each": "off",
|
|
276
282
|
"unicorn/no-array-reduce": "off",
|
|
277
283
|
"unicorn/no-useless-undefined": "off"
|
|
278
284
|
}
|
package/dist/index.js
CHANGED