-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
29 lines (29 loc) · 695 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
{
"plugins": ["testing-library", "jest-dom", "jest", "simple-import-sort", "import"],
"extends": [
"alloy",
"alloy/react",
"alloy/typescript",
"plugin:testing-library/react",
"plugin:jest-dom/recommended"
],
"env": {
"jest/globals": true
},
"rules": {
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"react/jsx-no-useless-fragment": ["error", { "allowExpressions": true }]
},
"overrides": [
{
"files": ["*.test.tsx"],
"rules": {
"max-nested-callbacks": "off"
}
}
]
}