fix: prefer const when all variables in destructuring should be const (#149)
This commit is contained in:
parent
42dddba96d
commit
2a224ef301
@ -237,7 +237,7 @@ module.exports = {
|
||||
'prefer-const': [
|
||||
'error',
|
||||
{
|
||||
destructuring: 'any',
|
||||
destructuring: 'all',
|
||||
ignoreReadBeforeAssign: true,
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user