@wistia/oxlint-config 0.8.1 → 0.8.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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/rules/vitest.mjs +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "packageManager": "yarn@4.14.1",
6
6
  "type": "module",
@@ -55,8 +55,8 @@
55
55
  "oxlint-tsgolint": ">= 1.0.0"
56
56
  },
57
57
  "dependencies": {
58
- "@eslint-react/eslint-plugin": "^5.8.3",
59
- "@vitest/eslint-plugin": "^1.6.17",
58
+ "@eslint-react/eslint-plugin": "^5.8.5",
59
+ "@vitest/eslint-plugin": "^1.6.18",
60
60
  "confusing-browser-globals": "^1.0.11",
61
61
  "eslint-plugin-barrel-files": "^3.0.1",
62
62
  "eslint-plugin-import-x": "^4.16.2",
@@ -64,7 +64,7 @@
64
64
  "eslint-plugin-n": "^18.0.1",
65
65
  "eslint-plugin-no-only-tests": "^3.4.0",
66
66
  "eslint-plugin-playwright": "^2.10.4",
67
- "eslint-plugin-storybook": "^10.4.0",
67
+ "eslint-plugin-storybook": "^10.4.1",
68
68
  "eslint-plugin-styled-components": "^0.0.0",
69
69
  "eslint-plugin-styled-components-a11y": "^2.2.1",
70
70
  "eslint-plugin-testing-library": "^7.16.2",
@@ -74,10 +74,10 @@
74
74
  "@changesets/changelog-github": "^0.7.0",
75
75
  "@changesets/cli": "^2.31.0",
76
76
  "eslint": "^10.4.0",
77
- "oxfmt": "^0.51.0",
78
- "oxlint": "^1.66.0",
77
+ "oxfmt": "^0.52.0",
78
+ "oxlint": "^1.67.0",
79
79
  "oxlint-tsgolint": "^0.23.0",
80
- "storybook": "^10.4.0",
80
+ "storybook": "^10.4.1",
81
81
  "vitest": "^4.1.7"
82
82
  },
83
83
  "engines": {
package/rules/vitest.mjs CHANGED
@@ -32,8 +32,7 @@ export const vitestRules = {
32
32
 
33
33
  // Enforce padding around afterAll blocks
34
34
  // https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-after-all-blocks.html
35
- // Decision: stylistic formatting rule, left to formatter
36
- 'vitest/padding-around-after-all-blocks': 'off',
35
+ 'vitest/padding-around-after-all-blocks': 'error',
37
36
 
38
37
  // Disallow conditional tests
39
38
  // https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-in-test.html
@@ -335,7 +334,8 @@ export const vitestRules = {
335
334
 
336
335
  // Enforce padding around afterAll blocks
337
336
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
338
- 'vitest-js/padding-around-after-all-blocks': 'error',
337
+ // Decision: handled by native vitest/padding-around-after-all-blocks
338
+ 'vitest-js/padding-around-after-all-blocks': 'off',
339
339
 
340
340
  // Enforce padding around afterEach blocks
341
341
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md