@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
package/src/rules/vitest.mjs
CHANGED
|
@@ -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
|
-
|
|
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
|