@enormora/eslint-config-base 0.0.18 → 0.0.20

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/base.js CHANGED
@@ -121,6 +121,7 @@ export const baseConfig = {
121
121
  'no-ternary': 'off',
122
122
  'no-this-before-super': 'error',
123
123
  'no-throw-literal': 'error',
124
+ 'no-unassigned-vars': 'error',
124
125
  'no-undef': ['error', { typeof: true }],
125
126
  'no-undef-init': 'error',
126
127
  'no-undefined': 'off',
@@ -317,6 +318,7 @@ export const baseConfig = {
317
318
  'no-useless-assignment': 'error',
318
319
 
319
320
  'no-secrets/no-secrets': ['error', { tolerance: 5 }],
321
+ 'no-secrets/no-pattern-match': 'off',
320
322
 
321
323
  'eslint-comments/disable-enable-pair': [
322
324
  'error',
package/package.json CHANGED
@@ -4,15 +4,15 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@cspell/eslint-plugin": "8.17.5",
8
- "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
9
- "@stylistic/eslint-plugin": "4.2.0",
7
+ "@cspell/eslint-plugin": "9.2.0",
8
+ "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
9
+ "@stylistic/eslint-plugin": "4.4.1",
10
10
  "eslint-plugin-array-func": "5.0.2",
11
11
  "eslint-plugin-destructuring": "2.2.1",
12
- "eslint-plugin-import-x": "4.6.1",
13
- "eslint-plugin-no-secrets": "1.1.2",
14
- "eslint-plugin-prettier": "5.2.3",
15
- "eslint-plugin-promise": "7.1.0",
12
+ "eslint-plugin-import-x": "4.11.0",
13
+ "eslint-plugin-no-secrets": "2.2.1",
14
+ "eslint-plugin-prettier": "5.5.3",
15
+ "eslint-plugin-promise": "7.2.1",
16
16
  "eslint-plugin-sonarjs": "1.0.4",
17
17
  "eslint-plugin-unicorn": "56.0.1"
18
18
  },
@@ -25,5 +25,5 @@
25
25
  "url": "git://github.com/enormora/eslint-config.git"
26
26
  },
27
27
  "type": "module",
28
- "version": "0.0.18"
28
+ "version": "0.0.20"
29
29
  }
@@ -198,6 +198,7 @@ export const bestPracticesRuleSet = {
198
198
  'promise/valid-params': 'error',
199
199
  'promise/prefer-await-to-then': 'error',
200
200
  'promise/no-multiple-resolved': 'error',
201
- 'promise/spec-only': 'error'
201
+ 'promise/spec-only': 'error',
202
+ 'promise/prefer-catch': 'error'
202
203
  }
203
204
  };