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
  • !37639

Build(deps-dev): Bump eslint-plugin-unicorn from 44.0.2 to 45.0.2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-45.0.2 into main Dec 13, 2022
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 3

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 44.0.2 to 45.0.2.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v45.0.2

  • prefer-string-replace-all: Don't crash on invalid pattern (#2011) 3bbe027
  • prevent-abbreviations: Skip fix for variables used in Vue template (#2012) 8cd1ded

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.1...v45.0.2

v45.0.1

  • no-useless-spread: Remove unsafe fix (#1996) 6756cbd

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.0...v45.0.1

v45.0.0

New rules

  • no-typeof-undefined (#1966) d7f7341
  • no-negated-condition (#1963) e4aaa42
  • prefer-set-size (#1952) 5f23c98

Improvements

  • prefer-at: Support private fields (#1929) 60bb455
  • no-useless-undefined: Ignore Array#includes() and Set#has() (#1951) 8dfd5a7
  • no-useless-spread: Check cloning inline arrays (#1980) 5d90d73
  • prefer-top-level-await: Ignore expressions in class (#1976) b90a3aa
  • prefer-string-replace-all: Improve RegExp to string fix (#1971) b844dbc
  • prefer-string-replace-all: Check pattern even if it's already using .replaceAll (#1981) e8c5156
  • prefer-string-replace-all: Report all String#replace() when the pattern has g flag (#1965) 6316f05
  • prefer-string-replace-all: Ignore regex with pipe (#1962) 76deaa3
  • prefer-regexp-test: Use suggestions if not sure regexp without g flag (#1954) 505a203
  • no-array-for-each: Skip fix for some edge cases (#1979) 48efc7a
  • prefer-add-event-listener: Only fix ExpressionStatement, check operator (#1955) aca21f2
  • prevent-abbreviations: Improve fix for retVal (#1953) 25cd810

Fixes

  • prefer-top-level-await: Fix crash on for..of loop (#1950) 00a29c8

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.2...v45.0.0

Commits
  • 23d0326 45.0.2
  • 3bbe027 prefer-string-replace-all: Don't crash on invalid pattern (#2011)
  • 8cd1ded prevent-abbreviations: Skip fix for variables used in Vue template (#2012)
  • 6aa742d Improve docs on required ESLint config
  • ec2567b filename-case: Remove unnecessary escape from docs (#2004)
  • 84a5816 no-typeof-undefined: Add historical note to docs (#1992)
  • 8dff476 prefer-number-properties: fix MDN links (#1999)
  • a8570c8 Update to eslint-doc-generator v1.0.0 (#2000)
  • 526f287 Update @eslint-community/eslint-utils to v4.1.2 (#1997)
  • 8769607 45.0.1
  • 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-45.0.2