feat(eslint): Rule "prefer-const"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 01:54:49 +04:00
parent 6feb545641
commit df848834f5
2 changed files with 8 additions and 1 deletions

View File

@ -388,6 +388,13 @@
"error",
"never"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
],
"prefer-reflect": [
"off"
],