forked from startupjs/startupjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
62 lines (62 loc) · 1.28 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
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"standard",
"standard-react",
"plugin:react/recommended",
"plugin:react-pug/all",
"plugin:wdio/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"react-pug",
"eslint-plugin-import-helpers",
"wdio"
],
"rules": {
"prefer-const": "error",
"eol-last": "error",
"react/jsx-handler-names": "off",
"react/prop-types": "off",
"react-pug/empty-lines": "off",
"react-pug/no-interpolation": "off",
"react-pug/prop-types": "off",
"react-pug/quotes": "off",
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "ignore",
"groups": [
"/^react$/",
"/react-native/",
"/^react.*/",
"/^startupjs/",
"/^@?startupjs.*/",
"/^@?dmapper.*/",
"module",
"/^components/",
["/^helpers/", "/^hooks/"],
["sibling", "parent"],
"/.\/index.styl/"
]
}
]
}
}