-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
32 lines (32 loc) · 899 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"es6": true,
"mocha": true,
"browser": true
},
"parserOptions": {
"sourceType": "module"
},
"plugins": ["react", "prettier"],
"settings": {
"import/resolver": "webpack"
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": ["error", 120],
"arrow-parens": ["error", "always"],
"camelcase": "off",
"implicit-arrow-linebreak": 0,
"class-methods-use-this": 0,
"react/forbid-prop-types": 0,
"no-console": 0,
"react/require-default-props": 0,
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"operator-linebreak": ["error", "after"],
"react/static-property-placement": 0,
"react/jsx-props-no-spreading": 0
}
}