This commit is contained in:
Manav Rathi
2024-11-19 18:49:40 +05:30
parent 5209562bba
commit dbfb5e5da3

View File

@@ -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 */