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

Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-21.0.0 into main Jul 28, 2020
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 3

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 20.1.0 to 21.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v21.0.0

New rules

  • Add prefer-array-find rule (#735) 12b46da
  • Add no-object-as-default-parameter rule (#633) 9989d2d

Improvements

  • Add ev to event default replacement to prevent-abbreviations rule (#793) a0b4aba
  • Ignore more types in no-fn-reference-in-iterator and no-reduce rule (#756) 5159c24
  • Make unicorn/prefer-flat-map not enabled by default in the recommended config 655220a
  • Improve consistent-function-scoping report location (#778) df218a2
  • Improve consistent-function-scoping message (#773) 4ed2adf

Fixes

  • consistent-function-scoping: Fix wrong detect of IIFE (#772) f7127da
  • prefer-starts-ends-with: Fix pipe in regex (#783) 1dca2f3
  • prevent-abbreviations: Fix optional parameter (#764) 7781c3f
  • no-useless-undefined: Ignore undefined use in compare functions (#758) 6d36407

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v20.1.0...v21.0.0

Commits
  • 77576de 21.0.0
  • a0b4aba Add ev-to-event default replacement to prevent-abbreviations rule (#793)
  • 6c02ce4 Add visualize tester (#788)
  • 9989d2d Add no-object-as-default-parameter rule (#633)
  • 1dca2f3 prefer-starts-ends-with: Fix pipe in regex (#783)
  • 4594085 Update dependencies (#780)
  • df218a2 Improve consistent-function-scoping report location (#778)
  • f7127da consistent-function-scoping: Fix wrong detect of IIFE (#772)
  • 4ed2adf Improve consistent-function-scoping message (#773)
  • 2d54895 Fix swift link (#776)
  • 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-21.0.0