-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
38 lines (38 loc) · 982 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
{
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint"
],
"env": {
"node": true,
"browser": true,
"jest": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/explicit-function-return-type": [
"error",
{ "allowExpressions": true, "allowTypedFunctionExpressions": true }
],
"@typescript-eslint/no-unused-vars": [
"error",
{ "varsIgnorePattern": "_" }
],
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/camelcase": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"react/no-unescaped-entities": "off",
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"react/prop-types": "off",
"no-nested-ternary": "off"
}
}