-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
53 lines (53 loc) · 1.15 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
53
{
"extends": [
"airbnb",
"prettier"
],
"env": {
"es6": true,
"browser": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [
"prettier"
],
"rules": {
"jsx-a11y/anchor-is-valid": 0,
"prettier/prettier": "error",
"import/no-unresolved": 1,
"global-require": 0,
"jsx-no-bind": 0,
"react/jsx-no-bind": 0,
"prefer-template": 1,
"prefer-destructuring": 0,
"new-cap": 0,
"react/prefer-stateless-function": 0,
"no-param-reassign": 1,
"consistent-return": 1,
"react/jsx-filename-extension": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"no-mixed-operators": [
"error",
{
"allowSamePrecedence": true
}
],
"arrow-parens": 0,
"react/forbid-prop-types": 0,
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"react/destructuring-assignment": 0,
"react/jsx-one-expression-per-line": 0
}
}