📜  自定义 eslint 配置反应钩子 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:53.234000             🧑  作者: Mango

代码示例1
{  "plugins": [    // ...    "react-hooks"  ],  "rules": {    // ...    "react-hooks/rules-of-hooks": "error",    "react-hooks/exhaustive-deps": "warn"  }}