@aarongoldenthal/eslint-config-standard 36.0.0 → 37.1.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/jest-config.js +1 -0
- package/node-config.js +1 -0
- package/package.json +14 -13
package/jest-config.js
CHANGED
|
@@ -62,6 +62,7 @@ export default defineConfig({
|
|
|
62
62
|
'jest/prefer-called-with': 'error',
|
|
63
63
|
'jest/prefer-comparison-matcher': 'error',
|
|
64
64
|
'jest/prefer-each': 'error',
|
|
65
|
+
'jest/prefer-ending-with-an-expect': 'off',
|
|
65
66
|
'jest/prefer-equality-matcher': 'error',
|
|
66
67
|
'jest/prefer-expect-assertions': 'error',
|
|
67
68
|
'jest/prefer-expect-resolves': 'error',
|
package/node-config.js
CHANGED
|
@@ -34,6 +34,7 @@ export default defineConfig({
|
|
|
34
34
|
'node/no-restricted-import': 'off',
|
|
35
35
|
'node/no-restricted-require': 'off',
|
|
36
36
|
'node/no-sync': 'off',
|
|
37
|
+
'node/no-top-level-await': 'off',
|
|
37
38
|
'node/no-unpublished-bin': 'error',
|
|
38
39
|
'node/no-unpublished-import': 'error',
|
|
39
40
|
'node/no-unpublished-require': 'error',
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aarongoldenthal/eslint-config-standard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "37.1.0",
|
|
4
4
|
"description": "Standard ESLint configuration settings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"config-inspector": "npx @eslint/config-inspector build --out-dir=public",
|
|
7
8
|
"hooks:pre-commit": "npm run lint && npm run prettier:check",
|
|
8
9
|
"hooks:pre-push": "npm audit --audit-level=critical && npm test",
|
|
9
10
|
"lint": "npm run lint:js && npm run lint:md",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
"author": "Aaron Goldenthal <npm@aarongoldenthal.com>",
|
|
25
26
|
"license": "MIT",
|
|
26
27
|
"engines": {
|
|
27
|
-
"node": "^
|
|
28
|
+
"node": "^20.9.0 || ^22.11.0 || >=24.0.0"
|
|
28
29
|
},
|
|
29
30
|
"exports": {
|
|
30
31
|
"./base-configs": "./base-configs.js",
|
|
@@ -50,24 +51,24 @@
|
|
|
50
51
|
"homepage": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard",
|
|
51
52
|
"dependencies": {
|
|
52
53
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
53
|
-
"@vitest/eslint-plugin": "1.1
|
|
54
|
-
"eslint-config-prettier": "10.1.
|
|
55
|
-
"eslint-plugin-jest": "28.
|
|
56
|
-
"eslint-plugin-jsdoc": "50.
|
|
57
|
-
"eslint-plugin-n": "17.
|
|
54
|
+
"@vitest/eslint-plugin": "1.2.1",
|
|
55
|
+
"eslint-config-prettier": "10.1.5",
|
|
56
|
+
"eslint-plugin-jest": "28.13.0",
|
|
57
|
+
"eslint-plugin-jsdoc": "50.7.1",
|
|
58
|
+
"eslint-plugin-n": "17.19.0",
|
|
58
59
|
"eslint-plugin-playwright": "2.2.0",
|
|
59
60
|
"eslint-plugin-promise": "7.2.1",
|
|
60
61
|
"eslint-plugin-unicorn": "59.0.1",
|
|
61
|
-
"globals": "16.
|
|
62
|
+
"globals": "16.2.0"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
|
-
"@eslint/config-inspector": "1.0
|
|
65
|
-
"@vitest/coverage-v8": "3.
|
|
66
|
-
"eslint": "9.
|
|
65
|
+
"@eslint/config-inspector": "1.1.0",
|
|
66
|
+
"@vitest/coverage-v8": "3.2.2",
|
|
67
|
+
"eslint": "9.28.0",
|
|
67
68
|
"jest": "29.7.0",
|
|
68
|
-
"markdownlint-cli2": "0.
|
|
69
|
+
"markdownlint-cli2": "0.18.1",
|
|
69
70
|
"prettier": "3.5.3",
|
|
70
|
-
"vitest": "3.
|
|
71
|
+
"vitest": "3.2.2"
|
|
71
72
|
},
|
|
72
73
|
"peerDependencies": {
|
|
73
74
|
"eslint": "^9.22.0"
|