@wistia/oxlint-config 0.7.1 → 0.7.2
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/package.json +3 -3
- package/rules/vitest.mjs +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/oxlint-config",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Wistia's Oxlint configurations",
|
|
5
5
|
"packageManager": "yarn@4.14.1",
|
|
6
6
|
"type": "module",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"oxlint-tsgolint": ">= 1.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@eslint-react/eslint-plugin": "^5.7.
|
|
57
|
+
"@eslint-react/eslint-plugin": "^5.7.6",
|
|
58
58
|
"@vitest/eslint-plugin": "^1.6.16",
|
|
59
59
|
"confusing-browser-globals": "^1.0.11",
|
|
60
60
|
"eslint-plugin-barrel-files": "^3.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@changesets/cli": "^2.31.0",
|
|
75
75
|
"eslint": "^10.3.0",
|
|
76
76
|
"oxfmt": "^0.48.0",
|
|
77
|
-
"oxlint": "^1.
|
|
77
|
+
"oxlint": "^1.64.0",
|
|
78
78
|
"oxlint-tsgolint": "^0.22.1",
|
|
79
79
|
"storybook": "^10.3.6",
|
|
80
80
|
"vitest": "^4.1.5"
|
package/rules/vitest.mjs
CHANGED
|
@@ -291,10 +291,15 @@ export const vitestRules = {
|
|
|
291
291
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
|
|
292
292
|
'jest/valid-expect': 'error',
|
|
293
293
|
|
|
294
|
-
// Enforce valid titles
|
|
295
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/
|
|
294
|
+
// Enforce valid titles (vitest-specific duplicate of jest/valid-title)
|
|
295
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-title.html
|
|
296
296
|
// decision: `allowArguments` avoids conflict with `prefer-describe-function-title` rule, which is enabled
|
|
297
|
-
'
|
|
297
|
+
'vitest/valid-title': ['error', { allowArguments: true }],
|
|
298
|
+
|
|
299
|
+
// Enforce valid titles (jest-specific duplicate of vitest/valid-title)
|
|
300
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-title.html
|
|
301
|
+
// decision: this is covered by `vitest/valid-title`
|
|
302
|
+
'jest/valid-title': 'off',
|
|
298
303
|
|
|
299
304
|
//rules via jsPlugins (@vitest/eslint-plugin + no-only-tests)
|
|
300
305
|
|