forked from betancourtl/draft-js-color-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
66 lines (66 loc) · 1.24 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"installedESLint": true,
"plugins": [
"react",
"jsx-a11y"
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"arrow-body-style": "off",
"func-style": [
"error",
"expression"
],
"func-names": [
"off"
],
"no-underscore-dangle": "off",
"new-cap": "off",
"no-console": "off",
"curly": "error",
"react/jsx-no-bind": [
"error",
{
"allowArrowFunctions": true
}
],
"react/prop-types": "warn",
"prefer-const": "off",
"no-alert": "off",
"react/jsx-first-prop-new-line": "off",
"react/forbid-prop-types": "off",
"react/prefer-stateless-function": "off",
"no-debugger": "off",
"no-restricted-syntax": "off",
"no-confusing-arrow": "off",
"arrow-parens": [
"error",
"as-needed"
],
"no-use-before-define": "off",
"jsx-a11y/img-has-alt": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-space-before-closing": "off"
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
}
}