-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
52 lines (52 loc) · 1.42 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": "airbnb",
"env": {
"node": true,
"es6": true
},
"rules": {
"no-var": 1,
"object-shorthand": 2,
"quote-props": [2, "as-needed"],
"no-multi-spaces": 2,
"prefer-template": 2,
"template-curly-spacing": 2,
"prefer-arrow-callback": 1,
"arrow-spacing": 2,
"arrow-parens": [1, "as-needed"],
"arrow-body-style": 1,
"no-confusing-arrow": [2, {"allowParens": true}],
"brace-style": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"space-before-blocks": 1,
"keyword-spacing": 1,
"space-infix-ops": 1,
"newline-per-chained-call": 1,
"no-whitespace-before-property": 1,
"padded-blocks": [1, "never"],
"space-in-parens": 2,
"array-bracket-spacing": 2,
"object-curly-spacing": [1, "always"],
"comma-style": 2,
"comma-dangle": [1, "only-multiline"],
"semi": 1,
"camelcase": 2,
"new-cap": [2, {"capIsNew": false}],
// Temp fix
"no-bitwise": "off",
"no-console": "off",
"no-plusplus": "off",
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"object-property-newline": "off",
"linebreak-style": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"import/newline-after-import": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }]
}
}