-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
33 lines (33 loc) · 1.02 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"extends": ["airbnb"],
"globals": {
"expect": true,
"test": true
},
"overrides": [
{
"files": ["*.js"],
"rules": {
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/react-in-jsx-scope": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"indent": ["error", 4, { "SwitchCase": 1 }],
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"semi": [2, "never"],
"comma-dangle": "off",
"object-curly-newline": "off",
"space-before-function-paren": "off",
"arrow-parens": ["error", "as-needed"],
"function-paren-newline": "off"
}
}
]
}