fix: prefer const when all variables in destructuring should be const (#149)

This commit is contained in:
三咲智子 Kevin Deng
2023-01-09 17:58:26 +08:00
committed by GitHub
parent 42dddba96d
commit 2a224ef301

View File

@@ -237,7 +237,7 @@ module.exports = {
'prefer-const': [
'error',
{
destructuring: 'any',
destructuring: 'all',
ignoreReadBeforeAssign: true,
},
],