@wistia/eslint-config 2.4.1 → 2.4.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @wistia/eslint-config
|
|
2
2
|
|
|
3
|
+
## 2.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#452](https://github.com/wistia/eslint-config/pull/452) [`a7fba62`](https://github.com/wistia/eslint-config/commit/a7fba62c91213c3bd03806b7b5bd4aa8a1b885a0) Thanks [@okize](https://github.com/okize)! - fix: disable `vitest/prefer-called-once` rule since it conflicts
|
|
8
|
+
|
|
3
9
|
## 2.4.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/src/rules/vitest.mjs
CHANGED
|
@@ -172,7 +172,8 @@ export default {
|
|
|
172
172
|
|
|
173
173
|
// Prefer toHaveBeenCalledOnce() over toHaveBeenCalledTimes(1)
|
|
174
174
|
// https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
175
|
-
|
|
175
|
+
// decision: this conflicts with `prefer-called-times` rule, which is enabled
|
|
176
|
+
'vitest/prefer-called-once': 'off',
|
|
176
177
|
|
|
177
178
|
// Prefer toHaveBeenCalledTimes over multiple assertions
|
|
178
179
|
// https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
|