Apply prefer-const lint rule

This commit is contained in:
Zaid Abdulla committed 2018-08-25 16:14:34 -07:00
1 parent b43088c03c
commit 09e6a360af
26 files changed
+217 -215

No files matched your search

+2 -1
View File
@@ -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"}]
}
}