mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:08:47 +02:00
Merge pull request #8175 from AlexanderOtavka/fix-eslintrc
Fix eslint descrepencies
This commit is contained in:
commit
122902714a
1 changed files with 3 additions and 2 deletions
|
@ -52,13 +52,14 @@ module.exports = {
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
|
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
|
||||||
"comma-dangle": ["error", "only-multiline"],
|
"comma-dangle": ["error", "never"],
|
||||||
"camelcase": ["error"],
|
"camelcase": ["error"],
|
||||||
"curly": ["error", "all"],
|
"curly": ["error", "all"],
|
||||||
"indent": ["error", 4, { "SwitchCase": 1 }],
|
"indent": ["error", 4, { "SwitchCase": 1 }],
|
||||||
"keyword-spacing": ["error", { "before": true, "after": true }],
|
"keyword-spacing": ["error", { "before": true, "after": true }],
|
||||||
"max-len": ["error", 128, 4],
|
"max-len": ["error", 128, 4],
|
||||||
"new-cap": ["error"],
|
"new-cap": ["error"],
|
||||||
|
"no-floating-decimal": ["error"],
|
||||||
//"no-magic-numbers": ["error", { "ignore": [0, 1], "ignoreArrayIndexes": true }],
|
//"no-magic-numbers": ["error", { "ignore": [0, 1], "ignoreArrayIndexes": true }],
|
||||||
"no-multiple-empty-lines": ["error"],
|
"no-multiple-empty-lines": ["error"],
|
||||||
"no-multi-spaces": ["error"],
|
"no-multi-spaces": ["error"],
|
||||||
|
@ -67,6 +68,6 @@ module.exports = {
|
||||||
"spaced-comment": ["error", "always", {
|
"spaced-comment": ["error", "always", {
|
||||||
"line": { "markers": ["/"] }
|
"line": { "markers": ["/"] }
|
||||||
}],
|
}],
|
||||||
"space-before-function-paren": ["error", "never"]
|
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue