2020-10-24 15:34:43 +08:00
|
|
|
{
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"env": {
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"sleep": true,
|
|
|
|
"prettyFormat": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module"
|
2023-04-19 23:01:03 +08:00
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react-hooks"
|
|
|
|
],
|
|
|
|
"rules": {
|
2023-04-21 10:07:14 +08:00
|
|
|
"react-hooks/rules-of-hooks": "error"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
2023-04-19 23:01:03 +08:00
|
|
|
}
|