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

Bump eslint-plugin-unicorn from 44.0.2 to 45.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-45.0.0 into main Nov 22, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 44.0.2 to 45.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

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
  • 4dcf1e4 45.0.0
  • 1996125 prefer-string-replace-all: Minor tweak to the message (#1987)
  • 349c4fd Update dependencies (#1985)
  • f4043e4 Update CI config (#1986)
  • d7f7341 Add no-typeof-undefined rule (#1966)
  • e8c5156 prefer-string-replace-all: Check pattern even if it's already using `.repla...
  • 5d90d73 no-useless-spread: Check cloning inline arrays (#1980)
  • 51d5254 Bump codecov/codecov-action (#1984)
  • b844dbc prefer-string-replace-all: Improve RegExp to string fix (#1971)
  • 48efc7a no-array-for-each: Skip fix for some edge cases (#1979)
  • 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.0