eslint-config-webpack 4.7.0 → 4.7.2

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.
@@ -1294,6 +1294,10 @@ function getConfig(esVersion) {
1294
1294
  config.rules["unicorn/prefer-class-fields"] = "off";
1295
1295
  }
1296
1296
 
1297
+ if (esVersion < 2023) {
1298
+ config.rules["unicorn/no-array-sort"] = "off";
1299
+ }
1300
+
1297
1301
  return config;
1298
1302
  }
1299
1303
 
package/configs/node.js CHANGED
@@ -84,7 +84,14 @@ const commonRules = {
84
84
  // From recommended
85
85
  // "n/no-unsupported-features/es-builtins": "error",
86
86
 
87
- // From recommended
87
+ // From recommended (override)
88
+ "n/no-unsupported-features/es-syntax": [
89
+ "error",
90
+ {
91
+ ignores: ["error-cause"],
92
+ },
93
+ ],
94
+
88
95
  // "n/no-unsupported-features/es-syntax": "error",
89
96
 
90
97
  // From recommended
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-webpack",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
4
4
  "description": "Provides Webpack's eslint rules as an extensible shared config",
5
5
  "keywords": [
6
6
  "eslint",