Add eslint prefer-const rule

thanks @soudblox
This commit is contained in:
Isaac 2021-05-20 15:33:22 +01:00
parent f2a706aa95
commit 740202d1e1
No known key found for this signature in database
GPG Key ID: F6812DBC6719B4E3

View File

@ -24,6 +24,13 @@ module.exports = {
'semi': [
'error',
'always'
],
'prefer-const': [
'error',
{
'destructuring': 'any',
'ignoreReadBeforeAssign': false
}
]
}
};
};