@faergeek/eslint-config 5.0.142 → 5.0.144

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -18,7 +18,7 @@ module.exports = {
18
18
  'no-useless-rename': 'warn',
19
19
  'object-shorthand': 'warn',
20
20
  'operator-assignment': 'warn',
21
- 'prefer-const': 'warn',
21
+ 'prefer-const': ['warn', { destructuring: 'all' }],
22
22
  'prefer-template': 'warn',
23
23
  radix: 'warn',
24
24
  'spaced-comment': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faergeek/eslint-config",
3
- "version": "5.0.142",
3
+ "version": "5.0.144",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:faergeek/eslint-config.git",
6
6
  "author": "Sergey Slipchenko <faergeek@gmail.com>",
package/typescript.js CHANGED
@@ -8,7 +8,7 @@ module.exports = {
8
8
  ],
9
9
  '@typescript-eslint/explicit-module-boundary-types': 'off',
10
10
  '@typescript-eslint/no-shadow': 'warn',
11
- '@typescript-eslint/no-unused-vars': 'off',
11
+ '@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true }],
12
12
  'no-shadow': 'off',
13
13
  },
14
14
  };