@wistia/eslint-config 2.3.0 → 2.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wistia/eslint-config
2
2
 
3
+ ## 2.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#445](https://github.com/wistia/eslint-config/pull/445) [`cb7714e`](https://github.com/wistia/eslint-config/commit/cb7714ea382968ead847f9bac5f5b8eff6c27006) Thanks [@okize](https://github.com/okize)! - fix: `vitest/no-importing-vitest-globals` should be off because we enable `vitest/prefer-importing-vitest-globals`
8
+
3
9
  ## 2.3.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "type": "module",
@@ -95,7 +95,8 @@ export default {
95
95
 
96
96
  // Disallow importing vitest globals when using globals: true
97
97
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
98
- 'vitest/no-importing-vitest-globals': 'error',
98
+ // decision: we enable `vitest/prefer-importing-vitest-globals` and this is it's opposite rule
99
+ 'vitest/no-importing-vitest-globals': 'off',
99
100
 
100
101
  // Disallow string interpolation in snapshots
101
102
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
@@ -131,7 +131,7 @@
131
131
  2,
132
132
  ],
133
133
  "vitest/no-importing-vitest-globals": [
134
- 2,
134
+ 0,
135
135
  ],
136
136
  "vitest/no-interpolation-in-snapshots": [
137
137
  2,