ESLint plugin providing opinionated rules for JavaScript, TypeScript, and React projects. Current stable version is 1.5.0 (February 2026). Requires Node.js >=22 and ESLint >=9.0.0. Supports TypeScript via peer dependency typescript >=5.0.0. Key differentiators: includes rules like no-inline-interfaces (auto-fixable), prefer-destructured-optionals, valid-event-listener, and no-redundant-jsx-prop-usage (requires type information). Offers recommended and recommendedTypeChecked configs. Actively maintained with regular releases.
npm install eslint-plugin-fsecondVerified import paths — ran on the pinned version, not inferred.
Shows how to use the recommended config and override a rule with options.
Upgrade Node.js to version 22 or higher.
Migrate to ESLint flat config (eslint.config.js/ts) and upgrade ESLint to 9+.
Replace 'checkWindowListener' with 'checkGlobalListeners' in rule options.
Use import statements or dynamic import().
Switch to import syntax or use dynamic import: const fsecond = await import('eslint-plugin-fsecond');Run: pnpm add -D eslint-plugin-fsecond