-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 901 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
{
"extends": [
"superop",
"superop/import-resolver-babel",
"superop/typescript",
"superop/react",
"superop/react-native"
],
"rules": {
"react/jsx-curly-newline": 0,
"react/jsx-indent": 0
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/restrict-template-expressions": [2, { "allowAny": true, "allowNullish": true }]
}
},
{
"env": {
"jest": true,
"jest/globals": true
},
"files": [
"jest.setup.js",
"jest-setup.js",
"jestSetup.js",
"*.{spec,test}.{js,ts,tsx}",
"**/__{mocks,tests}__/**/*.{js,ts,tsx}"
],
"plugins": ["jest"],
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
"rules": {
"@typescript-eslint/unbound-method": 0,
"jest/unbound-method": 0
}
}
]
}