Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !32516

Bump eslint-plugin-unicorn from 23.0.0 to 24.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-24.0.0 into main Dec 17, 2020
  • Overview 2
  • Commits 5
  • Pipelines 0
  • Changes 3

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 23.0.0 to 24.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v24.0.0

New rules

  • no-lonely-if (#936) 485dbf9
  • empty-brace-spaces (#933) c137daa
  • prefer-date-now (#935) d0c4826

Improvements

  • prevent-abbreviations: Add ignore option (#891) 898fcb4
  • no-useless-undefined: Add checkArguments option (#877) a1617b9
  • consistent-function-scoping: Allow ignoring arrow functions (#932) 17bf27c
  • Rewrite error-message rule (#922) 877bef9
  • Improve prefer-query-selector rule (#908) 635601d
  • prevent-abbreviations: Add var/vars replacements (#894) 07dadf5
  • prevent-abbreviations: Add ver → version replacement (#870) e755cdd
  • prefer-number-properties: Support computed key of ClassProperty MethodDefinition Property (#886) 769ac35
  • prefer-optional-catch-binding: Improve output (#884) 375d11a
  • no-null: Exclude useRef(null) and React.useRef(null) (#890) 7a4dbf4
  • prefer-number-properties: Add Infinity support (#874) 643169b
  • no-console-spaces: Improve report location (#866) 190cbac
  • no-useless-undefined: Ignore toHaveBeenCalledWith method (#876) d10a641
  • prefer-replace-all: Handle u flag (#879) d98d867
  • no-for-loop: Improve output when using the TypeScript parser (#883) 52edd3b
  • no-for-loop: Respect declaration kind (#878) df3f7bd
  • no-for-loop: Only report on the for loop head part (#885) e9c6963

Fixes

  • Fix false import styles seen in reported problem messages (#910) d669707
  • import-style: Fix crash on babel-eslint parser (#927) 9f5f721
  • prevent-abbreviations: Fix crash with TypeScript parser (#913) 9d5eca6
  • prefer-query-selector: Fix crash on calling without argument (#906) 36908da
  • import-style: Fix crash on destructing require (#904) 8335d41
  • new-for-builtins: Remove auto-fix for new String, new Boolean(), and new Number() (#907) dfc1ce0

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v23.0.0...v24.0.0

Commits
  • 25fd5ec 24.0.0
  • 86fde06 Update dev dependencies
  • 485dbf9 Add no-lonely-if rule (#936)
  • bf941a1 Adds weekly scheduled smoke tests (#923)
  • c137daa Add empty-brace-spaces rule (#933)
  • 90fc7b0 prefer-ternary: Refactor to use ESLint recommended way to extend fix range ...
  • d0c4826 Add prefer-date-now rule (#935)
  • 2ecc766 Update create-rule script to allow choosing fixable "whitespace" (#934)
  • 17bf27c consistent-function-scoping: Allow ignoring arrow functions (#932)
  • 898fcb4 prevent-abbreviations: Add ignore option (#891)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/npm_and_yarn/eslint-plugin-unicorn-24.0.0