Run eslint autofix, tidy up spacing and adjust eslint rules

This commit is contained in:
Alexander Szmidt
2018-12-07 13:39:05 +01:00
parent ec31789dd2
commit d74d3eb028
2 changed files with 2157 additions and 2210 deletions

View File

@@ -41,7 +41,7 @@ module.exports = {
"no-cond-assign": ["warn"],
"no-fallthrough": ["warn"],
"no-undef": ["error"],
"no-unused-vars": ["error"],
"no-unused-vars": ["warn"],
"no-use-before-define": ["warn", { "functions": false, "classes": false, "variables": false }],
"no-useless-escape": ["warn"],
"no-useless-return": ["warn"],
@@ -53,9 +53,11 @@ module.exports = {
"padded-blocks": ["warn", { "blocks": "never", "switches": "never", "classes": "never" }],
"semi": ["error", "always"],
"valid-typeof": ["warn"],
"no-eval": ["error"],
"no-eval": ["warn"],
"no-implied-eval": ["error"],
"no-debugger": ["warn"],
"no-unreachable": ["warn"],
"quotes": ["warn", "single", { "avoidEscape": true }]
},
extends: [
"eslint:recommended"

File diff suppressed because it is too large Load Diff