hp
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import reactPlugin from "eslint-plugin-react";
|
||||
import hooksPlugin from "eslint-plugin-react-hooks";
|
||||
import config from "./eslintrc-base.mjs";
|
||||
|
||||
export default [
|
||||
@@ -12,6 +13,14 @@ export default [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
"react-hooks": hooksPlugin,
|
||||
},
|
||||
rules: {
|
||||
...hooksPlugin.configs.recommended.rules,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
// /* eslint-env node */
|
||||
|
||||
Reference in New Issue
Block a user