forked from mosch/react-avatar-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.22 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
54
55
{
"extends": [
"standard",
"plugin:react/recommended",
"prettier",
"prettier/react"
],
"globals": {
"React": true,
"describe": true,
"expect": true,
"it": true,
"jest": true,
"mockStore": true,
"mount": true,
"mountIntl": true,
"shallow": true,
"shallowIntl": true
},
"parser": "babel-eslint",
"plugins": ["import", "react"],
"rules": {
"comma-dangle": [2, "always-multiline"],
"generator-star-spacing": 0,
"import/export": 2,
"jsx-quotes": [2, "prefer-double"],
"no-console": 2,
"no-return-assign": 0,
"no-unused-expressions": 0,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-first-prop-new-line": [2, "multiline-multiprop"],
"react/jsx-indent-props": 0,
"react/jsx-no-bind": 0,
"react/no-array-index-key": 2,
"react/no-multi-comp": [
"warn",
{
"ignoreStateless": true
}
],
"react/self-closing-comp": [
"error",
{
"component": true,
"html": true
}
],
"react/sort-comp": 2,
"react/no-render-return-value": 0,
"space-before-function-paren": 0,
"standard/computed-property-even-spacing": 0,
"no-var": 2,
"prefer-const": 2
}
}