@html-validate/eslint-config-jest 6.12.0 → 6.13.0
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/index.mjs +5 -0
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -26,9 +26,11 @@ export default defineConfig({
|
|
|
26
26
|
...configs["flat/style"].rules,
|
|
27
27
|
|
|
28
28
|
"jest/consistent-test-it": ["error", { fn: "it" }],
|
|
29
|
+
"jest/no-alias-methods": "error",
|
|
29
30
|
"jest/no-disabled-tests": "warn",
|
|
30
31
|
"jest/no-duplicate-hooks": "error",
|
|
31
32
|
"jest/no-focused-tests": "warn",
|
|
33
|
+
"jest/no-large-snapshots": "error",
|
|
32
34
|
"jest/no-test-prefixes": "warn",
|
|
33
35
|
"jest/prefer-expect-assertions": "error",
|
|
34
36
|
"jest/prefer-hooks-on-top": "error",
|
|
@@ -43,6 +45,9 @@ export default defineConfig({
|
|
|
43
45
|
/* allow ! assertions in testcases */
|
|
44
46
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
45
47
|
|
|
48
|
+
/* jest functions often use "any" */
|
|
49
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
50
|
+
|
|
46
51
|
/* often yields false positives when using expect(fn).toHaveBeenCalled() */
|
|
47
52
|
"@typescript-eslint/unbound-method": "off",
|
|
48
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config-jest",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "48725db7e0865dcd0aba16604734e60c4952625a"
|
|
45
45
|
}
|