Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on

Trailing whitespace and files not ending with \n are now illegal
This commit is contained in:
hydroflame
2022-03-10 22:12:17 -05:00
committed by GitHub
12 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ module.exports = {
curly: ["off"], curly: ["off"],
"default-case": ["off"], "default-case": ["off"],
"dot-notation": ["off"], "dot-notation": ["off"],
"eol-last": ["off"], "eol-last": ["error"],
eqeqeq: ["off"], eqeqeq: ["off"],
"for-direction": ["error"], "for-direction": ["error"],
"func-call-spacing": ["off"], "func-call-spacing": ["off"],
@@ -236,7 +236,7 @@ module.exports = {
"no-ternary": ["off"], "no-ternary": ["off"],
"no-this-before-super": ["off"], "no-this-before-super": ["off"],
"no-throw-literal": ["error"], "no-throw-literal": ["error"],
"no-trailing-spaces": ["off"], "no-trailing-spaces": ["error"],
"no-undef": ["off"], "no-undef": ["off"],
"no-undef-init": ["error"], "no-undef-init": ["error"],
"no-undefined": ["off"], "no-undefined": ["off"],