Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: prefer const when all variables in destructuring should be const (
  • Loading branch information
sxzz committed Jan 9, 2023
1 parent 42dddba commit 2a224ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basic/index.js
Expand Up @@ -237,7 +237,7 @@ module.exports = {
'prefer-const': [
'error',
{
destructuring: 'any',
destructuring: 'all',
ignoreReadBeforeAssign: true,
},
],
Expand Down

0 comments on commit 2a224ef

Please sign in to comment.