eslint tuning, re-enabled some rules
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
"accessor-pairs": "error",
|
||||
"arrow-spacing": ["error", { "before": true, "after": true }],
|
||||
"block-spacing": ["error", "always"],
|
||||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
||||
"brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
|
||||
"camelcase": ["off", { "properties": "never" }],
|
||||
"comma-dangle": ["error", {
|
||||
"arrays": "never",
|
||||
@@ -45,7 +45,7 @@
|
||||
"curly": ["error", "multi-line"],
|
||||
"dot-location": ["error", "property"],
|
||||
"eol-last": "error",
|
||||
"eqeqeq": ["off", "always", { "null": "ignore" }],
|
||||
"eqeqeq": ["error", "smart"],
|
||||
"func-call-spacing": ["error", "never"],
|
||||
"generator-star-spacing": ["error", { "before": true, "after": true }],
|
||||
"handle-callback-err": ["error", "^(err|error)$" ],
|
||||
@@ -97,7 +97,7 @@
|
||||
"allowSamePrecedence": true
|
||||
}],
|
||||
"no-mixed-spaces-and-tabs": "error",
|
||||
"no-multi-spaces": "off",
|
||||
"no-multi-spaces": "warn",
|
||||
"no-multi-str": "error",
|
||||
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
|
||||
"no-negated-in-lhs": "error",
|
||||
|
||||
Reference in New Issue
Block a user