|
|
@@ -18,7 +18,6 @@ module.exports = {
|
|
|
},
|
|
|
plugins: [
|
|
|
"jest",
|
|
|
- "react-hooks",
|
|
|
],
|
|
|
rules: {
|
|
|
'indent': [
|
|
|
@@ -34,7 +33,5 @@ module.exports = {
|
|
|
],
|
|
|
// eslint-plugin-import rules
|
|
|
'import/no-unresolved': [2, { ignore: ['^@'] }], // ignore @alias/..., @commons/..., ...
|
|
|
- "react-hooks/rules-of-hooks": "error",
|
|
|
- "react-hooks/exhaustive-deps": "warn"
|
|
|
},
|
|
|
};
|