# eslint-plugin-unicorn

> More than 300 powerful ESLint rules

Source: https://talira.ai/catalog/eslint-plugin-unicorn-vf1fmajm
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin, Library
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Sindre Sorhus](https://talira.ai/orgs/sindresorhus.md)

eslint-plugin-unicorn adds more than 300 [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md) rules, mostly for JavaScript and TypeScript, with some that also lint CSS, HTML, JSON, Markdown, TOML and YAML when used with ESLint's language plugins. It requires ESLint 10.4 or later, flat config and ESM, and is included in the XO linter. It's by Sindre Sorhus.

## Links

- GitHub: https://github.com/sindresorhus/eslint-plugin-unicorn

## Problems it solves

- add a large set of best-practice lint rules to a JavaScript project
- enforce modern JavaScript idioms with ESLint
- lint TypeScript code with stricter rules

## Features

- 300+ ESLint rules
- JavaScript and TypeScript rules
- some rules for CSS, HTML, JSON, Markdown, TOML and YAML
- flat config presets

## Limitations

- The maintainers don't accept pull requests; new rules are proposed through issues.[^1]

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 1.00, adoption 0.74, momentum 0.49, community 0.91, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 501 commits in the last 90 days
- latest release v80.0.0 14 days ago
- 5.3k GitHub stars
- 188 contributors
- accepts sponsorship (Github, Open Collective, Buy Me A Coffee)
- backed by Sindre Sorhus

## Related

- Works with [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md)

## Alternatives

- [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md): Find and fix problems in your JavaScript code.
- [typescript-eslint](https://talira.ai/catalog/typescript-eslint-02q6r6jn.md): The tooling that lets ESLint and Prettier lint and read TypeScript
- [Airbnb JavaScript Style Guide](https://talira.ai/catalog/airbnb-javascript-style-guide-at17d2k0.md): Airbnb's JavaScript style guide and the ESLint configs that enforce it
- [Oxc](https://talira.ai/catalog/oxc-x57vf6nn.md): The JavaScript Oxidation Compiler: high-performance JavaScript and TypeScript tools in Rust
- [Biome](https://talira.ai/catalog/biome-0x0507a7.md): One fast toolchain that formats and lints JavaScript, TypeScript, JSON, CSS, HTML, GraphQL, YAML and Markdown.
- [eslint-plugin-jsdoc](https://talira.ai/catalog/eslint-plugin-jsdoc-axv6qce3.md): JSDoc linting rules for ESLint.

## Sources

[^1]: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/readme.md (checked 29 Nov 2026)
[^2]: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/license (checked 29 Nov 2026)
