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

Bump eslint-plugin-unicorn from 31.0.0 to 32.0.1

  • Review changes

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

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 31.0.0 to 32.0.1.

Release notes

Sourced from eslint-plugin-unicorn's releases.

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.
  • prefer-array-flat-map - Was previously disabled.

Improvements

  • no-for-loop: Ignore known non-array loop variables (#1242) 29f6b45
  • prefer-array-find: Singularize variable name in autofix (#1243) 6b340a3
  • prefer-switch: Do not add braces to the default case (#1235) c241782
  • no-zero-fractions: Handle numeric separators, fix missing parentheses, improve report location (#1238) 2724afa
  • no-array-for-each: Better error message (#1239) 2e82dc8
  • prefer-switch: Avoid conflict with no-unreachable rule (#1234) 1c78d0c
  • prefer-optional-catch-binding: Support checking destructured errors (#1229) a0b2f4f
  • no-array-for-each: Support autofixing complicated parameters (#1228) d84143f
  • prefer-negative-index: Support Array#at() (#1217) 6443ee3
  • explicit-length-check: Check Set#size (#1226) 6a745a0
  • filename-case: Improve report position (#1227) 3d4ac1b

Fixes

  • prevent-abbreviations: Fix shorthand import/export detection (#1215) a669e31

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

Commits
  • 447aee6 32.0.1
  • 64831c6 prefer-set-has: Remove outdated AST types (#1253)
  • 4367479 prevent-abbreviations: Fix shorthand import/export detection (#1252)
  • 4bf09c4 32.0.0
  • 29f6b45 no-for-loop: Ignore known non-array loop variables (#1242)
  • 866c4a3 Add no-document-cookie rule (#1244)
  • 6b340a3 prefer-array-find: Singularize variable name in autofix (#1243)
  • 3205419 Update @babel/core (#1241)
  • 71d9d04 Mention libraries used under the hood in better-regexp rule doc (#1240)
  • c241782 prefer-switch: Do not add braces to the default case (#1235)
  • 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-32.0.1