Cleans up the eslint rules

This commit is contained in:
Sofiya Tepikin
2020-03-05 21:20:59 +01:00
parent e901cae0f5
commit f9d2838008
+4 -12
View File
@@ -25,23 +25,15 @@
}, },
}, },
"rules": { "rules": {
"ordered-imports": false,
"no-var-requires": false,
"indent": [ "indent": [
"error", "error",
2 2
], ],
"no-console": 0, "no-console": [
"eofline": false, "error",
"no-unused-variable": true, { allow: ["warn", "error"] }
"no-unused-expression": true,
"only-arrow-functions": false,
"space-before-function-paren": 0,
"trailing-comma": [
true,
"never"
], ],
"object-literal-sort-keys": false, "space-before-function-paren": 0,
"semi": [ "semi": [
"warn", "warn",
"never" "never"