-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
44 lines (44 loc) · 1.01 KB
/
.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
{
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/react",
"prettier/@typescript-eslint",
"plugin:jest/recommended"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"jsx-a11y/accessible-emoji": "off",
"no-underscore-dangle": "off",
"react/jsx-props-no-spreading": "off"
},
"overrides": [
{
"files": ["**/*.tsx"],
"rules": {
"react/prop-types": "off"
}
},
{
"files": ["**/*.stories.tsx"],
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
],
"settings": {
"react": {
"version": "detect"
}
}
}