This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
forked from NabeelZanabeet/rich-content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
63 lines (63 loc) · 1.35 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
56
57
58
59
60
61
62
63
{
"extends": ["wix/react", "plugin:jsx-a11y/strict"],
"env": {
"browser": true,
"node": true
},
"plugins": ["lodash", "fp", "jsx-a11y"],
"settings": {
"react": {
"version": "15.5.4"
}
},
"rules": {
"semi": "error",
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"react/jsx-closing-tag-location": "error",
"react/jsx-closing-bracket-location": [
1,
"line-aligned"
],
"react/jsx-space-before-closing": "off",
"react/jsx-tag-spacing": {
"closingSlash": "never",
"beforeSelfClosing": [
1,
"always"
],
"afterOpening": "never"
},
"react/style-prop-object": "off",
"react/jsx-handler-names": "off",
"camelcase": "warn",
"max-params": "off",
"no-console": "error",
"no-use-before-define": "off",
"no-mixed-operators": "off",
"space-before-function-paren": "off",
"object-curly-spacing": [
"error",
"always"
],
"max-len": [
"error",
{
"code": 150
}
],
"react/jsx-no-bind": 0,
"fp/no-loops": "error",
"fp/no-delete": "error",
"fp/no-get-set": "error",
"mocha/no-exclusive-tests": "error",
"mocha/no-skipped-tests": "error",
"mocha/no-pending-tests": "error",
"no-param-reassign": "error"
}
}