forked from markmanx/isoflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 998 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
{
"env": {
"browser": true,
"es2021": true
},
"plugins": [
"react",
"react-hooks",
"prettier"
],
"extends": [
"airbnb",
"airbnb-typescript",
"plugin:react-hooks/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json",
},
"rules": {
"prettier/prettier": 2,
"import/prefer-default-export": [0],
"react/function-component-definition": [0],
"react/jsx-props-no-spreading": [0],
"consistent-return": [0],
"react/no-unused-prop-types": ["warn"],
"react/require-default-props": [0],
"react/prop-types": [0],
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["draft"] }],
"arrow-body-style": ["error", "always"]
},
"ignorePatterns": [
"/dist",
"/node_modules"
]
}