-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
32 lines (32 loc) · 933 Bytes
/
.eslintrc.json
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
{
"extends": ["react-app", "plugin:@typescript-eslint/recommended"],
"plugins": ["jest", "simple-import-sort", "testing-library"],
"overrides": [
{
"extends": [
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:testing-library/react"
],
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"]
}
],
"rules": {
"import/no-anonymous-default-export": [
"error",
{
"allowObject": true
}
],
"import/order": "off",
"react/jsx-fragments": "error",
"react/jsx-sort-props": "error",
"react/react-in-jsx-scope": "off",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"sort-imports": "off",
"@typescript-eslint/array-type": ["error", { "default": "array" }],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}