@aarongoldenthal/eslint-config-standard 38.0.0 → 39.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/eslint-config-standard",
3
- "version": "38.0.0",
3
+ "version": "39.0.0",
4
4
  "description": "Standard ESLint configuration settings",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -51,23 +51,23 @@
51
51
  "homepage": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard",
52
52
  "dependencies": {
53
53
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
54
- "@vitest/eslint-plugin": "1.2.7",
55
- "eslint-config-prettier": "10.1.5",
54
+ "@vitest/eslint-plugin": "1.3.4",
55
+ "eslint-config-prettier": "10.1.8",
56
56
  "eslint-plugin-jest": "29.0.1",
57
- "eslint-plugin-jsdoc": "51.0.3",
58
- "eslint-plugin-n": "17.20.0",
59
- "eslint-plugin-playwright": "2.2.0",
57
+ "eslint-plugin-jsdoc": "52.0.0",
58
+ "eslint-plugin-n": "17.21.3",
59
+ "eslint-plugin-playwright": "2.2.1",
60
60
  "eslint-plugin-promise": "7.2.1",
61
- "eslint-plugin-unicorn": "59.0.1",
62
- "globals": "16.2.0"
61
+ "eslint-plugin-unicorn": "60.0.0",
62
+ "globals": "16.3.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@eslint/config-inspector": "1.1.0",
66
66
  "@vitest/coverage-v8": "3.2.4",
67
- "eslint": "9.29.0",
68
- "jest": "30.0.2",
67
+ "eslint": "9.32.0",
68
+ "jest": "30.0.5",
69
69
  "markdownlint-cli2": "0.18.1",
70
- "prettier": "3.5.3",
70
+ "prettier": "3.6.2",
71
71
  "vitest": "3.2.4"
72
72
  },
73
73
  "peerDependencies": {
@@ -40,6 +40,7 @@ export default defineConfig({
40
40
  'playwright/no-unsafe-references': 'error',
41
41
  'playwright/no-useless-await': 'error',
42
42
  'playwright/no-useless-not': 'error',
43
+ 'playwright/no-wait-for-navigation': 'error',
43
44
  'playwright/no-wait-for-selector': 'error',
44
45
  'playwright/no-wait-for-timeout': 'error',
45
46
  'playwright/prefer-comparison-matcher': 'error',
@@ -62,6 +63,7 @@ export default defineConfig({
62
63
  'playwright/valid-describe-callback': 'error',
63
64
  'playwright/valid-expect': 'error',
64
65
  'playwright/valid-expect-in-promise': 'error',
66
+ 'playwright/valid-test-tags': 'error',
65
67
  'playwright/valid-title': 'error'
66
68
  }
67
69
  });
@@ -31,6 +31,7 @@ export default defineConfig([
31
31
  'unicorn/no-array-for-each': 'error', // Recommended
32
32
  'unicorn/no-array-method-this-argument': 'error', // Recommended
33
33
  'unicorn/no-array-reduce': 'error', // Recommended
34
+ 'unicorn/no-array-reverse': 'error', // Recommended
34
35
  'unicorn/no-await-expression-member': 'error', // Recommended
35
36
  'unicorn/no-await-in-promise-methods': 'error', // Recommended
36
37
  'unicorn/no-console-spaces': 'error', // Recommended
@@ -66,6 +67,7 @@ export default defineConfig([
66
67
  'unicorn/no-unreadable-array-destructuring': 'error', // Recommended
67
68
  'unicorn/no-unreadable-iife': 'error', // Recommended
68
69
  'unicorn/no-unused-properties': 'error',
70
+ 'unicorn/no-useless-error-capture-stack-trace': 'error', // Recommended
69
71
  'unicorn/no-useless-fallback-in-spread': 'error', // Recommended
70
72
  'unicorn/no-useless-length-check': 'error', // Recommended
71
73
  'unicorn/no-useless-promise-resolve-reject': 'error', // Recommended
@@ -83,6 +85,7 @@ export default defineConfig([
83
85
  'unicorn/prefer-array-some': 'error', // Recommended
84
86
  'unicorn/prefer-at': 'error', // Recommended
85
87
  'unicorn/prefer-blob-reading-methods': 'error', // Recommended
88
+ 'unicorn/prefer-class-fields': 'error', // Recommended
86
89
  'unicorn/prefer-code-point': 'error', // Recommended
87
90
  'unicorn/prefer-date-now': 'error', // Recommended
88
91
  'unicorn/prefer-default-parameters': 'error', // Recommended
@@ -140,6 +143,7 @@ export default defineConfig([
140
143
  ], // Recommended
141
144
  'unicorn/relative-url-style': 'error', // Recommended
142
145
  'unicorn/require-array-join-separator': 'error', // Recommended
146
+ 'unicorn/require-module-specifiers': 'error', // Recommended
143
147
  'unicorn/require-number-to-fixed-digits-argument': 'error', // Recommended
144
148
  'unicorn/require-post-message-target-origin': 'off',
145
149
  'unicorn/string-content': 'off',
package/vitest-config.js CHANGED
@@ -48,6 +48,8 @@ export default defineConfig({
48
48
  'vitest/padding-around-describe-blocks': 'off',
49
49
  'vitest/padding-around-expect-groups': 'off',
50
50
  'vitest/padding-around-test-blocks': 'off',
51
+ 'vitest/prefer-called-once': 'error', // Recommended
52
+ 'vitest/prefer-called-times': 'off', // Recommended
51
53
  'vitest/prefer-called-with': 'error',
52
54
  'vitest/prefer-comparison-matcher': 'error',
53
55
  'vitest/prefer-describe-function-title': 'error',
@@ -79,6 +81,7 @@ export default defineConfig({
79
81
  'vitest/valid-describe-callback': 'error', // Recommended
80
82
  'vitest/valid-expect': 'error', // Recommended
81
83
  'vitest/valid-expect-in-promise': 'error',
82
- 'vitest/valid-title': 'error' // Recommended
84
+ 'vitest/valid-title': 'error', // Recommended
85
+ 'vitest/warn-todo': 'error'
83
86
  }
84
87
  });