2023-07-20 15:45:54 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"react-hooks",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"airbnb",
|
|
|
|
"airbnb-typescript",
|
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module",
|
2023-10-03 14:44:27 +00:00
|
|
|
"project": "./tsconfig.json",
|
2023-07-20 15:45:54 +00:00
|
|
|
},
|
|
|
|
"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],
|
2023-10-03 14:44:27 +00:00
|
|
|
"react/prop-types": [0],
|
2023-10-07 17:58:42 +00:00
|
|
|
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["draft"] }],
|
2023-07-26 12:04:27 +00:00
|
|
|
"arrow-body-style": ["error", "always"]
|
2023-08-08 15:35:06 +00:00
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
|
|
"/dist",
|
|
|
|
"/node_modules"
|
|
|
|
]
|
2023-07-20 15:45:54 +00:00
|
|
|
}
|