Commit 17c162d4 by 杨周龙

优化eslint

1 parent 6ad1e89f
Showing with 3 additions and 2 deletions
{
module.exports = {
"env": {
"node": true,
"mocha": true,
......@@ -82,6 +82,7 @@
"react/jsx-tag-spacing": 1,
"react/jsx-uses-vars": 2,
"react/jsx-wrap-multilines": 2,
"react-hooks/rules-of-hooks": 2
"react-hooks/rules-of-hooks": 2,
"no-unused-vars": process.env.NODE_ENV === 'development' ? 1 : 2
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!