eslint-plugin-unicorn
More than 300 powerful ESLint rules
About this project
eslint-plugin-unicorn More than 300 powerful ESLint rules Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, Markdown, and YAML when used with the matching ESLint language plugin. Propose a new rule ➡ We do not accept pull requests because of too much AI slop. Install Requires ESLint =10.4, flat config, and ESM. You might want to check out XO, which includes this plugin. Usage Use a preset config or configure each rule in eslint.config.js. If you don't use a preset, set the same languageOptions as shown below. For TypeScript, scope Unicorn to TypeScript files and configure a TypeScript parser for the same config object: Rules …
Technologies
Project health
GitHub
Reviews
Built by
Maintain sindresorhus/eslint-plugin-unicorn? Claiming verifies admin access through your GitHub account and gives you control of this listing.
