eslint-config-webpack 4.7.1 → 4.7.3

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.
Files changed (2) hide show
  1. package/configs/node.js +14 -1
  2. package/package.json +1 -1
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
@@ -204,6 +211,12 @@ async function getModuleConfig() {
204
211
  rules: {
205
212
  ...nodeConfig.rules,
206
213
  ...commonRules,
214
+ "n/no-unsupported-features/es-syntax": [
215
+ "error",
216
+ {
217
+ ignores: ["modules", "error-cause"],
218
+ },
219
+ ],
207
220
  "import/extensions": [
208
221
  "error",
209
222
  "always",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-webpack",
3
- "version": "4.7.1",
3
+ "version": "4.7.3",
4
4
  "description": "Provides Webpack's eslint rules as an extensible shared config",
5
5
  "keywords": [
6
6
  "eslint",