sindresorhus/eslint-plugin-unicorn

More than 300 powerful ESLint rules

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 13th, 2026
Created on April 9th, 2016
Open Issues & Pull Requests: 7 (+0)
GitHub issues: Enabled
Number of forks: 496
Total Stargazers: 5,238 (+0)
Total Subscribers: 26 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.6 hours
Mean response time: 110.4 days
90th percentile: 290.0 days
Tracked items: 778

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Work labelled "change request" is answered fastest, typically in about 8 hours, while "good for beginner" waits about 4 weeks. Only 9% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 8
Closed in 7 days: 6
Avg open age: 22 days
Stale 30+ days: 2
Stale 90+ days: 0

Recent activity

Opened in 7 days: 8
Closed in 7 days: 6
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (282)
  • new rule (256)
  • bug (242)
  • evaluating (190)
  • enhancement (104)
  • change request (93)
  • types (39)
  • good for beginner (15)

Detailed Description

eslint-plugin-unicorn is an ESLint plugin that provides more than 300 linting rules for JavaScript and TypeScript code.

The plugin addresses the need for comprehensive, opinionated linting beyond ESLint's core rules. It targets common JavaScript and TypeScript patterns and anti-patterns, offering both automatic fixes and manual suggestions for many rules. The rules also extend to non-JavaScript files including CSS, HTML, JSON, Markdown, and YAML when used with matching ESLint language plugins. The tool provides preset configurations that can be used directly or individual rules can be configured manually in an ESLint flat config file.

Developers should adopt this plugin if they want stricter, more comprehensive linting coverage than ESLint provides by default and prefer an opinionated approach to code quality. It suits projects using modern JavaScript or TypeScript with ESLint flat config and ESM. The README mentions XO as an alternative, which bundles this plugin along with other configurations, making it suitable for teams wanting a complete linting setup without manual configuration.

The project maintains a strict policy against accepting pull requests due to AI-generated contributions, instead directing rule proposals through the contributing guidelines. Development activity shows consistent engagement with the codebase through automated documentation generation and active maintenance of the rule set. The tool requires recent versions of ESLint and enforces modern JavaScript standards including flat config and ESM support.