@html-validate/eslint-config-jest 6.12.0 → 6.13.1

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/index.mjs +5 -0
  2. package/package.json +3 -3
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.12.0",
3
+ "version": "6.13.1",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint",
@@ -29,7 +29,7 @@
29
29
  "prepublishOnly": "release-prepublish --retain-scripts"
30
30
  },
31
31
  "dependencies": {
32
- "eslint-plugin-jest": "29.2.2"
32
+ "eslint-plugin-jest": "29.11.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "eslint": "^9.0.0"
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "1bb2a82510f8fad3cd4717de83f6f74a11ada671"
44
+ "gitHead": "9e45f8e63f816bb5ee6b98e26c52fdd9064ce016"
45
45
  }