@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "type": "module",
@@ -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
- 'vitest/prefer-called-once': 'error',
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
@@ -196,7 +196,7 @@
196
196
  2,
197
197
  ],
198
198
  "vitest/prefer-called-once": [
199
- 2,
199
+ 0,
200
200
  ],
201
201
  "vitest/prefer-called-times": [
202
202
  2,