Add ESLint no-var and prefer-const rules

This commit is contained in:
Peter deHaan
2017-01-16 16:33:12 -08:00
parent 3009e855ae
commit 47da890e55
4 changed files with 59 additions and 57 deletions
+2
View File
@@ -14,6 +14,8 @@ module.exports = {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-throw-literal": "error",
"no-var": "error",
"prefer-const": "error",
"quotes": ["error", "double"],
"radix": "error",
"semi": ["error", "always"]