diff --git a/change/@langri-sha-eslint-config-918927ec-6de0-4a1a-9b82-1b29447e4154.json b/change/@langri-sha-eslint-config-918927ec-6de0-4a1a-9b82-1b29447e4154.json new file mode 100644 index 000000000..18d60f26b --- /dev/null +++ b/change/@langri-sha-eslint-config-918927ec-6de0-4a1a-9b82-1b29447e4154.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "feat(eslint-config): Add `eslint-plugin-react-hooks`", + "packageName": "@langri-sha/eslint-config", + "email": "filip.dupanovic@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/eslint-config/src/index.js b/packages/eslint-config/src/index.js index baadd41b3..27d6533ca 100644 --- a/packages/eslint-config/src/index.js +++ b/packages/eslint-config/src/index.js @@ -5,6 +5,7 @@ import jsdoc from 'eslint-plugin-jsdoc' import prettier from 'eslint-plugin-prettier/recommended' import reactRuntime from 'eslint-plugin-react/configs/jsx-runtime.js' import react from 'eslint-plugin-react/configs/recommended.js' +import reactHooks from 'eslint-plugin-react-hooks' import unicorn from 'eslint-plugin-unicorn' import globals from 'globals' import ts from 'typescript-eslint' @@ -36,6 +37,7 @@ export default [ }, }, plugins: { + 'react-hooks': reactHooks, import: fixupPluginRules(imprt), jsdoc, unicorn,