-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.eslintrc
39 lines (38 loc) · 904 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
{
"env": {
"jest": true
},
"extends": "@folio/eslint-config-stripes",
"overrides": [
{
"files": [ "src/**/tests/*", "test/**/*", "*test.js" ],
"rules": {
"func-names": "off",
"no-unused-expressions": "off",
"max-len": "off",
"one-var": "off",
"react/prop-types": "off",
"import/prefer-default-export": "off"
}
}
],
"parser": "@babel/eslint-parser",
"rules": {
"global-require": "off",
"import/no-cycle": [ 2, { "maxDepth": 1 } ],
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off",
"prefer-object-spread": "off"
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["__mock__", "./test/jest/__mock__"],
["fixtures", "./test/jest/fixtures"],
["helpers", "./test/jest/helpers"]
]
}
}
}
}