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

Bump eslint-plugin-unicorn from 31.0.0 to 33.0.1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-33.0.1 into main Jun 08, 2021
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 31.0.0 to 33.0.1.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v33.0.1

  • prefer-prototype-methods: Ignore known object literal methods (#1330) 639e7af

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

v33.0.0

New rules

  • require-array-join-separator (#1284) 36e7103
  • require-number-to-fixed-digits-argument (#1288) 4a30863
  • prefer-prototype-methods (#1247) 7bde733
  • prefer-object-has-own (#1322) ca34b40
    • Not enabled in the recommended preset.

Improvements

  • no-array-for-each: Handle only return statement inside if or else (#1319) 298a104
  • new-for-builtins & no-new-buffer: Handle line breaks after new keyword (#1301) d37439f
  • prefer-array-flat-map: Remove check on [].concat(...array.map(…)) (#1299) 128b5aa
  • prefer-spread: Ignore {arrayBuffer,blob,buffer,file,this}.slice() (#1287) e18d5f2
  • prefer-string-starts-ends-with: Add suggestions for safely handling non-strings (#1277) f14a9d1
  • explicit-length-check: Ignore this.{size,length} (#1289) ed85d00
  • prefer-string-starts-ends-with-rule: Don't autofix known non-string values (#1281) a1c8984
  • explicit-length-check: Ignore known, non-number length properties (#1264) 42f6487
  • empty-brace-spaces: Support experimental syntax (#1276) fa68b6f
  • prefer-dom-node-remove: Improve parentheses handling (#1254) 74e4d39

Fixes

  • prefer-array-flat: Fix incorrect fix, check Array.prototype.concat.call (#1317) f6a939c

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

v32.0.1

  • prevent-abbreviations: Fix shorthand import/export detection (#1252) 4367479

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

v32.0.0

Breaking

  • Drop support for Node.js v10 (#1211) a8e9f26
  • Drop support for babel-eslint (#1211) a8e9f26 You should migrate to @babel/eslint-parser

New rules

  • no-document-cookie (#1244) 866c4a3
  • numeric-separators-style - Was previously disabled.
  • prefer-array-flat - Was previously disabled.

... (truncated)

Commits
  • cfd31a5 33.0.1
  • 639e7af prefer-prototype-methods: Ignore known object literal methods (#1330)
  • 7d4165c 33.0.0
  • ca34b40 Add prefer-object-has-own rule (#1322)
  • e38769c Update prefer-array-find examples (#1324)
  • 34e06d9 Tweak CI settings (#1293)
  • 660b657 Improve coverage (#1321)
  • c0e6f99 Ensure no unexpected properties present in snapshot tests (#1320)
  • 298a104 no-array-for-each: Handle only return statement inside if or else (#1319)
  • f6a939c prefer-array-flat: Fix incorrect fix, check Array.prototype.concat.call (...
  • 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-33.0.1