tachybase_todo/.eslintrc
被雨水过滤的空气-Rairn d4165babf7
feat: add react-hooks lint (#1728)
2023-04-19 23:01:03 +08:00

22 lines
360 B
Plaintext
Executable File

{
"parser": "@typescript-eslint/parser",
"env": {
"node": true
},
"globals": {
"sleep": true,
"prettyFormat": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react-hooks"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}