@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.
- package/package.json +1 -1
- package/rules/vitest.mjs +4 -0
package/package.json
CHANGED
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',
|