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

Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-27.0.0 into main Jan 26, 2021
  • Overview 2
  • Commits 3
  • Pipelines 0
  • Changes 4

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 26.0.1 to 27.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v27.0.0

New rules

  • no-array-for-each (#1017) 719cd00
  • no-array-push-push (#1015) 21537d7
  • no-this-assignment (#1018) 62a2f92

Improvements

  • prefer-ternary: Add only-single-line option (#1025) 306c9e7
  • numeric-separators-style: Add onlyIfContainsSeparator option (#916) 8d32574
  • prefer-spread: Prefer ... over Array#concat() (#1029) cda72bd
  • prefer-spread: Fix more .concat cases (#1042) c3c7ba3
  • no-array-callback-reference: Improve suggestions for Array#forEach() (#1049) 77bcdc6
  • no-new-buffer: Use suggestion for unknown arguments (#1037) 88a724c
  • no-unreadable-array-destructuring: Add auto-fix (#1010) 27bc3c3
  • new-for-builtins: Better auto-fix (#1022) 5ba0f83
  • no-instanceof-array: Better auto-fix (#1020) 0520f31

Fixes

  • prefer-query-selector: Fix crash on unexpected selector (#1034) 88018ca

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

Commits
  • 3765807 27.0.0
  • c3c7ba3 prefer-spread: Fix more .concat cases (#1042)
  • f5496c7 Refactor: remove eslint-ast-utils package (#1048)
  • 77bcdc6 no-array-callback-reference: Improve suggestions for Array#forEach() (#1049)
  • 4271e95 no-array-for-each: Add auto-fix for some wrongly detected case (#1043)
  • a091842 Use @babel/eslint-parser in tests (#961)
  • 88a724c no-new-buffer: Use suggestion for unknown arguments (#1037)
  • db5a068 no-array-for-each: Fix broken auto-fixed code (#1039)
  • ca2f54f Refactor: replace isSameNode with hasSameRange (#1036)
  • cda72bd prefer-spread: Prefer ... over Array#concat() (#1029)
  • 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-27.0.0