@faergeek/eslint-config 5.0.141 → 5.0.143

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
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.141",
3
+ "version": "5.0.143",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:faergeek/eslint-config.git",
6
6
  "author": "Sergey Slipchenko <faergeek@gmail.com>",