ESLint, comments, quality and speed menus

This commit is contained in:
Sam Potts
2017-08-16 00:36:23 +10:00
parent 18b2cbb2e9
commit 0148c76c30
14 changed files with 766 additions and 629 deletions

19
.eslintrc.json Normal file
View File

@ -0,0 +1,19 @@
{
"env": {
"browser": true
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"indent": ["error", 4, {
"SwitchCase": 1
}],
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}