eslint 9.21.0 → 9.22.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": "eslint",
3
- "version": "9.21.0",
3
+ "version": "9.22.0",
4
4
  "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
5
5
  "description": "An AST-based pattern checker for JavaScript.",
6
6
  "type": "commonjs",
@@ -14,13 +14,17 @@
14
14
  "types": "./lib/types/index.d.ts",
15
15
  "default": "./lib/api.js"
16
16
  },
17
+ "./config": {
18
+ "types": "./lib/types/config-api.d.ts",
19
+ "default": "./lib/config-api.js"
20
+ },
17
21
  "./package.json": "./package.json",
18
22
  "./use-at-your-own-risk": {
19
23
  "types": "./lib/types/use-at-your-own-risk.d.ts",
20
24
  "default": "./lib/unsupported-api.js"
21
25
  },
22
26
  "./rules": {
23
- "types": "./lib/types/rules/index.d.ts"
27
+ "types": "./lib/types/rules.d.ts"
24
28
  },
25
29
  "./universal": {
26
30
  "types": "./lib/types/universal.d.ts",
@@ -33,10 +37,13 @@
33
37
  "./lib/types/use-at-your-own-risk.d.ts"
34
38
  ],
35
39
  "rules": [
36
- "./lib/types/rules/index.d.ts"
40
+ "./lib/types/rules.d.ts"
37
41
  ],
38
42
  "universal": [
39
43
  "./lib/types/universal.d.ts"
44
+ ],
45
+ "config": [
46
+ "./lib/types/config-api.d.ts"
40
47
  ]
41
48
  }
42
49
  },
@@ -77,7 +84,7 @@
77
84
  "lib/rules/*.js": [
78
85
  "node tools/update-eslint-all.js",
79
86
  "node tools/update-rule-type-headers.js",
80
- "git add packages/js/src/configs/eslint-all.js \"lib/types/rules/*.ts\""
87
+ "git add packages/js/src/configs/eslint-all.js lib/types/rules.d.ts"
81
88
  ],
82
89
  "docs/src/rules/*.md": [
83
90
  "node tools/check-rule-examples.js",
@@ -102,9 +109,10 @@
102
109
  "@eslint-community/eslint-utils": "^4.2.0",
103
110
  "@eslint-community/regexpp": "^4.12.1",
104
111
  "@eslint/config-array": "^0.19.2",
112
+ "@eslint/config-helpers": "^0.1.0",
105
113
  "@eslint/core": "^0.12.0",
106
114
  "@eslint/eslintrc": "^3.3.0",
107
- "@eslint/js": "9.21.0",
115
+ "@eslint/js": "9.22.0",
108
116
  "@eslint/plugin-kit": "^0.2.7",
109
117
  "@humanfs/node": "^0.16.6",
110
118
  "@humanwhocodes/module-importer": "^1.0.1",
@@ -116,7 +124,7 @@
116
124
  "cross-spawn": "^7.0.6",
117
125
  "debug": "^4.3.2",
118
126
  "escape-string-regexp": "^4.0.0",
119
- "eslint-scope": "^8.2.0",
127
+ "eslint-scope": "^8.3.0",
120
128
  "eslint-visitor-keys": "^4.2.0",
121
129
  "espree": "^10.3.0",
122
130
  "esquery": "^1.5.0",