eslint-plugin-kirklin is a collection of opinionated ESLint rules created by Kirk Lin, primarily used with the kirklin/eslint-config configuration. The current stable version is 4.0.0, which adds support for ESLint v10. The plugin releases new features and breaking changes periodically, with v2.0.0 dropping CJS support to become ESM-only. Key differentiators include custom rules like consistent-list-newline, top-level-function, no-top-level-await, consistent-chaining, and indent-unindent, which enforce a consistent code style specific to the author's preferences.
npm install eslint-plugin-kirklinNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import the plugin and configure recommended rules in flat config (ESLint >=9).
Ensure your project is using ES modules (set "type": "module" in package.json or use .mjs extension for config).
Update to v4.0.0: npm install eslint-plugin-kirklin@latest
Update ESLint to >=10: npm install eslint@latest
Migrate to flat config: https://eslint.org/docs/latest/use/configure/configuration-files-new
Consider upgrading to ESLint >=9 or use eslint-plugin-kirklin@1.x (but v1 is deprecated).
Convert config to ESM (rename .eslintrc.js to eslint.config.js with "type": "module") or use dynamic import.
Run: npm install eslint-plugin-kirklin --save-dev
Use plugin.configs.recommended (or plugin.configs itself) instead of plugin.config.
Add plugins: { kirklin: plugin } to your config object.