-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (39 loc) · 1.02 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"indent": ["error", 2, {
"SwitchCase": 1
}],
"arrow-body-style": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"max-len": ["error", { "code": 100 }],
"func-names": "off",
"import/no-mutable-exports": "off",
"no-case-declarations": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": ["error", { "allowTernary": true }],
"space-before-function-paren": "off",
}
}
# {
# parser: "babel-eslint",
# "rules": {
# "indent": ["error", 2, {
# "SwitchCase": 1
# }],
# "arrow-body-style": "off",
# "class-methods-use-this": "off",
# "consistent-return": "off",
# "func-names": "off",
# "import/no-mutable-exports": "off",
# "no-case-declarations": "off",
# "no-shadow": "off",
# "no-underscore-dangle": "off",
# "no-unused-expressions": ["error", { "allowTernary": true }],
# "space-before-function-paren": "off",
# },
# "extends": "airbnb"
# }