A collection of ESLint rules for personal and project use, maintained by Kevin Deng. Current stable version is 0.4.4, with frequent releases. The plugin is ESM-only since v0.2.0, requires ESLint ^9.15.0 or ^10.0.0, and Node.js >=20.19.0. It includes TypeScript type definitions. Differentiators: custom rules like `require-package-field`, and breaking changes between versions (dropped CJS, dropped Node 18). Notable forked from eslint-plugin-antfu.
npm install eslint-plugin-sxzzVerified import paths — ran on the pinned version, not inferred.
Configure ESLint flat config to use eslint-plugin-sxzz with a custom rule.
Use ESM imports (import) instead of require().
Upgrade Node.js to >=20.19.0.
Check TypeScript config; may need to update type imports.
Add plugin.sxzz to plugins and enable individual rules.
Use 'eslint.config.js' or 'eslint.config.mjs' with flat config.
Run 'npm install eslint-plugin-sxzz' and ensure package.json has 'type':'module' or use .mjs extension.
Use import plugin from 'eslint-plugin-sxzz' (ESM) and set it as { plugins: { sxzz: plugin } }.Check available rules in documentation; use correct rule name like 'sxzz/require-package-field'.