We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5617c49 commit 6c61960Copy full SHA for 6c61960
packages/eslint-config/eslint-config.js
@@ -126,7 +126,7 @@ const baseConfig = createConfig(
126
'operator-assignment': 'error',
127
'padding-line-between-statements': 'error',
128
'prefer-arrow-callback': 'error',
129
- 'prefer-const': 'error',
+ 'prefer-const': ['error', { destructuring: 'all' }],
130
'prefer-exponentiation-operator': 'error',
131
'prefer-named-capture-group': 'error',
132
'prefer-numeric-literals': 'error',
packages/eslint-config/package.json
@@ -4,7 +4,7 @@
4
"access": "public",
5
"provenance": true
6
},
7
- "version": "1.0.1",
+ "version": "1.0.2",
8
"description": "ESLint configuration for projects at Viam.",
9
"type": "module",
10
"main": "./eslint-config.js",
0 commit comments