-
Notifications
You must be signed in to change notification settings - Fork 224
/
.eslintrc
49 lines (49 loc) · 859 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
39
40
41
42
43
44
45
46
47
48
49
{
// Let eslint know were working as a browser to allow the standard globals (document, window, etc.)
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
// Allowing cyclic dependencies
"import/no-cycle": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"^@edsc/earthdata-react-icons/.+"
]
}
]
},
"overrides": [
{
"files": [
"*.test.js"
],
"rules": {
"import/first": 0
}
},
{
"files": [
"serverless/src/**/*"
],
"rules": {
"import/prefer-default-export": 0
}
}
],
// Use AirBnb settings as a base
"extends": [
"@edsc"
],
// Define version settings
"settings": {
"react": {
"pragma": "React",
"version": "16.12.0"
}
}
}