eslint 9.30.1 → 9.32.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.
@@ -116,6 +116,10 @@ export interface ESLintRules extends Linter.RulesRecord {
116
116
  * @default true
117
117
  */
118
118
  enforceForClassMembers: boolean;
119
+ /**
120
+ * @default true
121
+ */
122
+ enforceForTSTypes: boolean;
119
123
  }>,
120
124
  ]
121
125
  >;
@@ -945,7 +949,15 @@ export interface ESLintRules extends Linter.RulesRecord {
945
949
  * @see https://eslint.org/docs/latest/rules/grouped-accessor-pairs
946
950
  */
947
951
  "grouped-accessor-pairs": Linter.RuleEntry<
948
- ["anyOrder" | "getBeforeSet" | "setBeforeGet"]
952
+ [
953
+ "anyOrder" | "getBeforeSet" | "setBeforeGet",
954
+ Partial<{
955
+ /**
956
+ * @default false
957
+ */
958
+ enforceForTSTypes: boolean;
959
+ }>,
960
+ ]
949
961
  >;
950
962
 
951
963
  /**
@@ -2126,7 +2138,7 @@ export interface ESLintRules extends Linter.RulesRecord {
2126
2138
  >;
2127
2139
 
2128
2140
  /**
2129
- * Rule to disallow reassigning `const` variables.
2141
+ * Rule to disallow reassigning `const`, `using`, and `await using` variables.
2130
2142
  *
2131
2143
  * @remarks
2132
2144
  * Recommended by ESLint, the rule was enabled in `eslint:recommended`.
@@ -4066,6 +4078,10 @@ export interface ESLintRules extends Linter.RulesRecord {
4066
4078
  * @default false
4067
4079
  */
4068
4080
  ignoreClassWithStaticInitBlock: boolean;
4081
+ /**
4082
+ * @default false
4083
+ */
4084
+ ignoreUsingDeclarations: boolean;
4069
4085
  /**
4070
4086
  * @default false
4071
4087
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint",
3
- "version": "9.30.1",
3
+ "version": "9.32.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",
@@ -108,10 +108,10 @@
108
108
  "@eslint-community/regexpp": "^4.12.1",
109
109
  "@eslint/config-array": "^0.21.0",
110
110
  "@eslint/config-helpers": "^0.3.0",
111
- "@eslint/core": "^0.14.0",
111
+ "@eslint/core": "^0.15.0",
112
112
  "@eslint/eslintrc": "^3.3.1",
113
- "@eslint/js": "9.30.1",
114
- "@eslint/plugin-kit": "^0.3.1",
113
+ "@eslint/js": "9.32.0",
114
+ "@eslint/plugin-kit": "^0.3.4",
115
115
  "@humanfs/node": "^0.16.6",
116
116
  "@humanwhocodes/module-importer": "^1.0.1",
117
117
  "@humanwhocodes/retry": "^0.4.2",
@@ -145,7 +145,7 @@
145
145
  "@babel/core": "^7.4.3",
146
146
  "@babel/preset-env": "^7.4.3",
147
147
  "@cypress/webpack-preprocessor": "^6.0.2",
148
- "@eslint/json": "^0.12.0",
148
+ "@eslint/json": "^0.13.0",
149
149
  "@trunkio/launcher": "^1.3.4",
150
150
  "@types/esquery": "^1.5.4",
151
151
  "@types/node": "^22.13.14",
@@ -173,12 +173,11 @@
173
173
  "globals": "^16.2.0",
174
174
  "got": "^11.8.3",
175
175
  "gray-matter": "^4.0.3",
176
- "jiti": "^2.2.0",
176
+ "jiti": "^2.5.1",
177
177
  "jiti-v2.0": "npm:jiti@2.0.x",
178
178
  "jiti-v2.1": "npm:jiti@2.1.x",
179
179
  "knip": "^5.60.2",
180
180
  "lint-staged": "^11.0.0",
181
- "load-perf": "^0.2.0",
182
181
  "markdown-it": "^12.2.0",
183
182
  "markdown-it-container": "^3.0.0",
184
183
  "marked": "^4.0.8",
@@ -188,7 +187,7 @@
188
187
  "metascraper-logo": "^5.25.7",
189
188
  "metascraper-logo-favicon": "^5.25.7",
190
189
  "metascraper-title": "^5.25.7",
191
- "mocha": "^10.7.3",
190
+ "mocha": "^11.7.1",
192
191
  "node-polyfill-webpack-plugin": "^1.0.3",
193
192
  "npm-license": "^0.3.3",
194
193
  "pirates": "^4.0.5",