@wistia/oxlint-config 0.4.1 → 0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rules/vitest.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "packageManager": "yarn@4.14.1",
6
6
  "type": "module",
package/rules/vitest.mjs CHANGED
@@ -80,6 +80,10 @@ export const vitestRules = {
80
80
  // decision: not necessary to be prescriptive here
81
81
  'vitest/prefer-to-be-truthy': 'off',
82
82
 
83
+ // Require type parameters on mock function calls
84
+ // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
85
+ 'vitest/require-mock-type-parameters': 'error',
86
+
83
87
  // Require local Test Context for concurrent snapshot tests
84
88
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
85
89
  'vitest/require-local-test-context-for-concurrent-snapshots': 'error',