🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › releases
Releases · sindresorhus/eslint-plugin-unicorn
sindresorhus / eslint-plugin-unicorn Public · There was an error while loading. Please reload this page. Notifications · You must be signed in to change notification settings · Fork 439 · Star 4.9k · Releases · sindresorhus/eslint-plugin-unicorn · 10 Feb 16:20 ·
Author   sindresorhus
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn
GitHub - sindresorhus/eslint-plugin-unicorn: More than 100 powerful ESLint rules · GitHub
You might want to check out XO, which includes this plugin. ... Requires ESLint >=9.20.0, flat config, and ESM.
Author   sindresorhus
🌐
npm
npmjs.com › package › eslint-plugin-unicorn
eslint-plugin-unicorn - npm
Latest version: 63.0.0, last published: 23 days ago. Start using eslint-plugin-unicorn in your project by running `npm i eslint-plugin-unicorn`. There are 2718 other projects in the npm registry using eslint-plugin-unicorn.
      » npm install eslint-plugin-unicorn
    
Published   Feb 10, 2026
Version   63.0.0
Author   Sindre Sorhus
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › releases › tag › v34.0.0
Release v34.0.0 · sindresorhus/eslint-plugin-unicorn
sindresorhus / eslint-plugin-unicorn Public · Notifications · Fork 346 · Star 3.3k · Compare · Choose a tag to compare · Could not load tags · Nothing to show · {{ refName }} default · sindresorhus released this · 28 Jun 10:44 · · 402 commits to main since this release ·
Author   sindresorhus
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › releases › tag › v40.1.0
Release v40.1.0 · sindresorhus/eslint-plugin-unicorn
sindresorhus / eslint-plugin-unicorn Public · Notifications · Fork 343 · Star 3.3k · Compare · Choose a tag to compare · Could not load tags · Nothing to show · {{ refName }} default · sindresorhus released this · 16 Jan 06:54 · · 238 commits to main since this release ·
Author   sindresorhus
🌐
SourceForge
sourceforge.net › projects › eslint-plugin-unicorn.mirror
eslint-plugin-unicorn download | SourceForge.net
Download eslint-plugin-unicorn for free. More than 100 powerful ESLint rules. More than 100 powerful ESLint rules. You might want to check out XO, which includes this plugin.
🌐
npm
npmjs.com › search
eslint-plugin-unicorn - npm search
eslintbot• 10.0.1 • a month ago • 2676 dependents • MITpublished version 10.0.1, a month ago2676 dependents licensed under $MIT
🌐
UNPKG
unpkg.com › browse › eslint-plugin-unicorn@23.0.0 › readme.md
eslint-plugin-unicorn
[**Propose or contribute a new rule ➡**](.github/contributing.md) ## Install ```console $ npm install --save-dev eslint eslint-plugin-unicorn ``` ## Usage Configure it in `package.json`. ```json { "name": "my-awesome-project", "eslintConfig": { "env": { "es6": true }, "parserOptions": { "ecmaVersion": 2021, "sourceType": "module" }, "plugins": [ "unicorn" ], "rules": { "unicorn/better-regex": "error", "unicorn/catch-error-name": "error", "unicorn/consistent-function-scoping": "error", "unicorn/custom-error-definition": "off", "unicorn/error-message": "error", "unicorn/escape-case": "error",
Find elsewhere
🌐
Reddit
reddit.com › r/reactjs › what are some (niche?) eslint rules you couldn't live without?
r/reactjs on Reddit: What are some (niche?) ESLint rules you couldn't live without?
June 24, 2020 -

Recently created my own eslint config and stumbled across https://github.com/sindresorhus/eslint-plugin-unicorn which has a few reasonable rules in there that have the potential to massively contribute to code quality, e.g. prefer-array-find, prefer-modern-dom-apis.

I was also unaware of https://github.com/testing-library/eslint-plugin-testing-library as well as the included eslint-plugin-jest which... should definitely have your attention if you use testing-library and/or jest.

https://github.com/benmosher/eslint-plugin-import also has import/order which may alphabetically group your imports, improving readability.

Anything else I've been missing out on?

🌐
CodeSandbox
codesandbox.io › examples › package › eslint-plugin-unicorn
eslint-plugin-unicorn examples - CodeSandbox
Use this online eslint-plugin-unicorn playground to view and fork eslint-plugin-unicorn example apps and templates on CodeSandbox.
🌐
Tessl
tessl.io › registry › tessl › npm-eslint-plugin-unicorn › 60.0.0
tessl/npm-eslint-plugin-unicorn@60.0.x - Registry - Tessl
import eslintPluginUnicorn from 'eslint-plugin-unicorn'; import globals from 'globals'; export default [ { languageOptions: { globals: globals.builtin, }, plugins: { unicorn: eslintPluginUnicorn, }, rules: { 'unicorn/better-regex': 'error', ...
🌐
GitHub
gist.github.com › alexilyaev › 25a6496f523a18e3c530cb3a2e4718cb
ESLint `no-null` rule from `eslint-plugin-unicorn` · GitHub
ESLint `no-null` rule from `eslint-plugin-unicorn` Raw · eslint-no-null.md · eslint-plugin-unicorn v19.0.0 added unicorn/no-null by default.
🌐
GitHub
github.com › oxc-project › oxc › issues › 684
☂ eslint-plugin-unicorn · Issue #684 · oxc-project/oxc · GitHub
June 3, 2023 - WarningThis comment is maintained by CI. Do not edit this comment directly. To update comment template, see https://github.com/oxc-project/oxc/tree/main/tasks/lint_rules This is the tracking issue for eslint-plugin-unicorn. There are 141...
Published   Aug 04, 2023
🌐
GitHub
github.com › typescript-eslint › typescript-eslint › issues › 9623
Repo: enable more `eslint-plugin-unicorn` rules internally · Issue #9623 · typescript-eslint/typescript-eslint
June 18, 2024 - Suggestion Following up on #9523, I was looking through the eslint-plugin-unicorn rules that we do not have turned on internally, and I found these rules that might be beneficial to enable. Thoughts?Details better-regex (26 occurrences) ...
Published   Jul 23, 2024
🌐
Awesomeopensource
awesomeopensource.com › project › sindresorhus › eslint-plugin-unicorn
Eslint Plugin Unicorn Alternatives
Latest ReleaseOctober 29, 2023 · Categories · Programming Languages > Javascript · Web User Interface > Dom · Code Quality > Eslint · Repo · Alternatives To Eslint Plugin Unicorn · Alternatives To Eslint Plugin Unicorn · Select To Compare ...