close

reactHooksPlugin

reactHooksPlugin exposes Rslint's built-in implementation of supported rules from eslint-plugin-react-hooks 7.x. Its preset follows the upstream flat recommended configuration for the rules Rslint currently supports.

import { defineConfig, reactHooksPlugin } from '@rslint/core';

export default defineConfig([reactHooksPlugin.configs.recommended]);

Presets

PresetDescriptionView rulesSource
reactHooksPlugin.configs.recommendedReact Hooks rulesView rules →eslint-plugin-react-hooks configs.flat.recommended

See Rules & Presets for guidance on choosing and layering presets.