Apply prefer-const lint rule
This commit is contained in:
1 parent
b43088c03c
commit
09e6a360af
26 files changed
+217
-215
No files matched your search
+2
-1
@@ -14,6 +14,7 @@
|
||||
"prefer-arrow-callback": "error",
|
||||
"curly": ["error", "multi-or-nest", "consistent"],
|
||||
"consistent-return": ["error", {"treatUndefinedAsUnspecified": true}],
|
||||
"no-buffer-constructor": "error"
|
||||
"no-buffer-constructor": "error",
|
||||
"prefer-const": ["error", {"destructuring": "all"}]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user