🌐
npm
npmjs.com › package › eslint-plugin-unicorn
eslint-plugin-unicorn - npm
import eslintPluginUnicorn from 'eslint-plugin-unicorn'; import globals from 'globals'; export default [ { languageOptions: { globals: globals.builtin, }, plugins: { unicorn: eslintPluginUnicorn, }, rules: { 'unicorn/better-regex': 'error', 'unicorn/…': 'error', }, }, // … ]; 💼 Configurations enabled in. ✅ Set in the recommended configuration. ☑️ Set in the unopinionated configuration. 🔧 Automatically fixable by the --fix CLI option. 💡 Manually fixable by editor suggestions. See the list. See the ESLint docs for more information about extending config files. Note: Preset configs will also enable the correct language options.
      » npm install eslint-plugin-unicorn
    
Published   Feb 10, 2026
Version   63.0.0
Author   Sindre Sorhus
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn
GitHub - sindresorhus/eslint-plugin-unicorn: More than 100 powerful ESLint rules · GitHub
import eslintPluginUnicorn from 'eslint-plugin-unicorn'; import globals from 'globals'; export default [ { languageOptions: { globals: globals.builtin, }, plugins: { unicorn: eslintPluginUnicorn, }, rules: { 'unicorn/better-regex': 'error', ...
Author   sindresorhus
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › issues › 1851
Error: Failed to load plugin 'eslint-plugin-unicorn' declared in '--config#overrides[2]': Cannot find module 'node:path' · Issue #1851 · sindresorhus/eslint-plugin-unicorn
May 20, 2022 - Upgrading eslint-plugin-unicorn from 42.0.0 to 43.0.0 results in the following error: @:~/> yarn lint \ Processing: electron/src/preload.ts Oops! Something went wrong! :( ESLint: 8.19.0 Error: F...
Published   Jul 03, 2022
🌐
Stack Overflow
stackoverflow.com › questions › 78222945 › error-failed-to-load-plugin-unicorn-declared-in-eslintrc-js-cannot-find-m
nuxt.js - Error: Failed to load plugin 'unicorn' declared in '.eslintrc.js': Cannot find module 'eslint/use-at-your-own-risk' - Stack Overflow
ESLint: Failed to load plugin 'prettier' declared in '../../.eslintrc.js Cannot find module 'eslint-plugin-prettier' ... npm init nuxt-app results a problem "Failed to load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config'"
🌐
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 › nuxt › eslint › issues › 235
Failed to load plugin 'unicorn' · Issue #235 · nuxt/eslint
August 12, 2022 - Error message: Error: Failed to load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config': Invalid version: "2.0.6.1" It's the same issue as #165 but th...
Published   Oct 17, 2022
🌐
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. Thought...
Published   Jul 23, 2024
Find elsewhere
🌐
npm
npmjs.com › search
eslint-plugin-unicorn - npm search
Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.
🌐
Medium
medium.com › quadcode-life › improving-development-productivity-the-magic-of-a-unified-eslint-configuration-e32aa71b063b
Improving development productivity: the magic of a unified ESLint configuration | by Dmitrii Pashkevich | Quadcode | Medium
September 22, 2023 - eslint-plugin-jsx-a11y — will check if we have added accessibility rules to our JSX elements or not. Since the entire codebase is written in TypeScript, we will add rules for linting TypeScript code — @typescript-eslint/eslint-plugin. We will add a plugin for linting code that works with Promises — eslint-plugin-promise. And we will add two final plugins for linting code quality. eslint-plugin-sonarjs — will help identify potential bugs and the use of suspicious patterns in the code. eslint-plugin-unicorn — more than 100 useful rules for ESLint.
🌐
UNPKG
app.unpkg.com › eslint-plugin-unicorn@23.0.0 › files › readme.md
eslint-plugin-unicorn
Enable it in your `package.json` with the `extends` option: ```json { "name": "my-awesome-project", "eslintConfig": { "extends": "plugin:unicorn/recommended" } } ``` See the [ESLint docs](https://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending config files. **Note**: This config will also enable the correct [parser options](https://eslint.org/docs/user-guide/configuring#specifying-parser-options) and [environment](https://eslint.org/docs/user-guide/configuring#specifying-environments).
🌐
UNPKG
unpkg.com › browse › eslint-plugin-unicorn@38.0.1 › readme.md
eslint-plugin-unicorn/readme.md
Enable it in your `package.json` with the `extends` option: ```json { "name": "my-awesome-project", "eslintConfig": { "extends": "plugin:unicorn/recommended" } } ``` See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending config files. **Note**: This config will also enable the correct [parser options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) and [environment](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments).
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › issues › 2325
Key "plugins": Cannot redefine plugin "unicorn" · Issue #2325 · sindresorhus/eslint-plugin-unicorn
January 23, 2024 - import js from "@eslint/js"; import unicorn from "eslint-plugin-unicorn"; export default [ // activate this line to get error // before it was named : "eslint:recommended" // -------- // js.configs.recommended, unicorn.configs['flat/recommended'], { files: ["**/*.js"], languageOptions: { parser: babelParser, parserOptions: { ecmaVersion: "latest", sourceType: "module", requireConfigFile: false, }, }, plugins: { unicorn, } } }
Published   May 06, 2024
🌐
GitHub
github.com › sindresorhus › eslint-plugin-unicorn › issues
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 · Search Issues · is:issue state:open · is:issue state:open Search ·
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.
🌐
IssueHunt
oss.issuehunt.io › r › sindresorhus › eslint-plugin-unicorn
sindresorhus/eslint-plugin-unicorn (Raised $2,952.61) - Issuehunt
`multipleFileExtensions` in `unicorn/filename-case` is not working correctly with eslint flat config
🌐
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.
🌐
GitHub
github.com › hayden-lu › eslint-plugin-unicorn
GitHub - hayden-lu/eslint-plugin-unicorn: More than 100 powerful ESLint rules · GitHub
{ "name": "my-awesome-project", "eslintConfig": { "env": { "es2022": true }, "parserOptions": { "ecmaVersion": "latest", "sourceType": "module" }, "plugins": [ "unicorn" ], "rules": { "unicorn/better-regex": "error", "unicorn/…": "error" } } }
Author   hayden-lu