-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
33 lines (30 loc) · 928 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"plugins": ["html"],
"rules": {
"comma-dangle": ["error", "only-multiline"],
"eqeqeq": ["error", "smart"],
"curly": ["error", "all"],
"quotes": ["error", "single", { "avoidEscape": true }],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"block-spacing": "error",
"dot-location": ["error", "property"],
"key-spacing": "off",
"func-names": "off",
"object-shorthand": "off",
"quote-props": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"array-bracket-spacing": ["error", "never"],
"brace-style": ["error", "stroustrup"],
"space-before-blocks": ["error", "always"],
"no-whitespace-before-property": "error",
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"no-trailing-spaces": "error",
"operator-linebreak": ["error", "after"]
}
}