@subf/config 0.6.3 → 0.6.4
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/oxlint.mjs +6 -1
- package/package.json +1 -1
package/dist/oxlint.mjs
CHANGED
|
@@ -94,7 +94,10 @@ const baseRules = {
|
|
|
94
94
|
name: "subf",
|
|
95
95
|
specifier: "@subf/oxlint-plugin"
|
|
96
96
|
}],
|
|
97
|
-
categories: {
|
|
97
|
+
categories: {
|
|
98
|
+
correctness: "error",
|
|
99
|
+
perf: "warn"
|
|
100
|
+
},
|
|
98
101
|
rules: {
|
|
99
102
|
"subf/method-signature-style": "error",
|
|
100
103
|
"subf/no-negated-conjunction": "error",
|
|
@@ -423,6 +426,7 @@ const vitest = {
|
|
|
423
426
|
files: ["**/__tests__/**/*.{js,ts,jsx,tsx}", "**/*.{spec,test,bench,benchmark}.{js,ts,jsx,tsx}"],
|
|
424
427
|
plugins: ["vitest"],
|
|
425
428
|
rules: {
|
|
429
|
+
"unicorn/consistent-function-scoping": "off",
|
|
426
430
|
"vitest/consistent-test-it": ["error", {
|
|
427
431
|
fn: "it",
|
|
428
432
|
withinDescribe: "it"
|
|
@@ -433,6 +437,7 @@ const vitest = {
|
|
|
433
437
|
"vitest/prefer-lowercase-title": "error",
|
|
434
438
|
"vitest/prefer-called-exactly-once-with": "warn",
|
|
435
439
|
"vitest/require-awaited-expect-poll": "error",
|
|
440
|
+
"vitest/valid-expect": ["error", { maxArgs: 2 }],
|
|
436
441
|
"no-unused-expressions": "off",
|
|
437
442
|
"typescript/no-explicit-any": "off",
|
|
438
443
|
"typescript/no-non-null-assertion": "off"
|