-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
38 lines (38 loc) · 1013 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
33
34
35
36
37
38
{
"rules": {
"indent": [ 1, 2 ],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"no-unused-vars": [ 1, {"vars": "all", "args": "none"} ],
"curly": [ 2 ],
"no-spaced-func": [ 2 ],
"space-before-blocks": [ 2 ],
"keyword-spacing": [ 2, { "after": true} ],
"no-console": 1,
"react/display-name": 0,
"react/no-danger": 0,
"react/prop-types": [0, { ignore: ['children']}]
},
"env": {
"es6": true,
"browser": true,
"mocha": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"modules": true
}
},
"plugins": [ "react" ],
"globals": {
"React": true,
"I18n": true,
"pageflow": true,
"PAGEFLOW_EDITOR": true,
}
}