-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.eslintrc
55 lines (55 loc) · 1 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": [
"products/react",
"plugin:import/errors",
"plugin:import/warnings"
],
"parser": "babel-eslint",
"env": {
"jest": true
},
"globals": {
"shallow": false,
"mount": false,
"render": false,
"jsdom": false,
"jquery": true,
"$": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"wpcalypso/import-docblock": 0,
"wpcalypso/jsx-classname-namespace": 0,
"linebreak-style": 0,
"no-console": 0,
"max-len": 0,
"import/no-unresolved": 0,
"valid-jsdoc": 0,
"no-useless-escape": 0,
"camelcase": 0,
"react/no-danger": 0,
"react/jsx-no-undef": [2,
{
"allowGlobals": true
}
]
},
"settings": {
"import/ignore": [
"node_modules",
"\\.(html|json|properties)$"
],
"import/resolver": {
"webpack": {
"config": "webpack/configs/base.js"
}
},
"react": {
"version": "detect"
}
}
}