# sindresorhus/eslint-plugin-unicorn

More than 300 powerful ESLint rules

Repository: https://github.com/sindresorhus/eslint-plugin-unicorn
Canonical: https://ross.abutalabs.com/products/eslint-plugin-unicorn
Language: JavaScript
License: MIT
License Family: permissive
Topics: unicorns, eslint-rules, eslint-plugin, eslint, eslint-config, linting-rules, xo, javascript, nodejs
Last push: 2026-08-26T12:10:04+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 3798, "days_push": 7, "days_rel": 30, "gap_med": 8, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5230, forks 495 (observed 2026-08-28T04:09:13.421056+00:00)

## What it is
An ESLint plugin offering more than 300 powerful lint rules for JavaScript and TypeScript, with some rules also covering CSS, HTML, JSON, Markdown, and YAML via matching language plugins. It provides preset configurations (recommended, unopinionated) and many automatically fixable rules.

## Use cases
- lint javascript code with extra rules beyond eslint core
- enforce modern javascript best practices in a codebase
- auto-fix common code style issues in eslint
- lint typescript projects with opinionated rules
- lint json yaml and markdown files with eslint
- improve code quality in a nodejs project

## When to choose
- you use ESLint with flat config and want a large set of high-quality, opinionated rules
- you want many auto-fixable rules to keep code idiomatic and modern
- you use XO or want a recommended preset to get started quickly

## When to avoid
- your project cannot use ESLint >= 10.4 with flat config and ESM
- you need minimal, unopinionated linting without extra stylistic rules
- you lint languages other than JavaScript/TypeScript without the matching ESLint language plugins

## Facets
- artifact type: plugin
- maturity: active
- function: linter, developer-tools, code-review
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: eslint-plugin, linting, javascript, typescript, code-quality, static-analysis, auto-fix, nodejs

## Member repositories
- sindresorhus/eslint-plugin-unicorn (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.421056+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:59:39.665329+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/eslint-plugin-unicorn (fetched 2026-08-28T04:09:13.421056+00:00, sha 7fed1baecd8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
