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

Bump eslint-plugin-unicorn from 34.0.1 to 35.0.0

  • Review changes

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

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 34.0.1 to 35.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v35.0.0

New rules

  • prefer-object-from-entries (#1308) 4a14187
  • no-useless-length-check (#1398) 1107455
  • no-useless-spread (#1401) 1463f52

Breaking

  • explicit-length-check: Remove greater-than-or-equal option (#1397) db1a2b5
    • It enabled a style that no one actually uses.

Improvements

  • no-array-reduce: Add allowSimpleOperations option (#1418) 153eb2c
  • no-array-callback-reference: Ignore jQuery methods (#1457) 7af9a6f
  • prevent-abbreviations: Ignore i18n and l10n (#1445) efdd90e
  • no-array-callback-reference: Ignore mobx-state-tree usage (#1455) 73c0dfd
  • new-for-builtins: Check WeakRef and FinalizationRegistry (#1450) fce9d1d
  • no-zero-fractions: Handle .0 correctly (#1444) fcca35d
  • new-for-builtins: Enforce new for SharedArrayBuffer and Proxy (#1438) 2ba83ad
  • no-null: Allow Object.create(null, …) (#1432) 768f301
  • number-literal-case: Support Vue SFC (#1434) ee9f609
  • no-object-as-default-parameter: Forbid destructuring (#1433) 3fcc4bb
  • prefer-spread: Better auto-fix (#1426) 7bdf0dd
  • prefer-array-some: Check cases comparing .find() with undefined (#1422) 3dc2f77
  • no-useless-spread: Check useless "iterable to array" (#1414) 61bc6a3
  • prefer-dom-node-text-content: Check destructuring, Use suggestion instead of auto-fix (#1417) c4bfc42
  • require-post-message-target-origin: Disable for TypeScript files (#1415) 741484a
  • prefer-add-event-listener: Update event types list (#1412) 7f88b2f
  • no-instanceof-array: Support Vue SFC (#1410) 3b22917
  • prevent-abbreviations: Add def (#1402) f783472
  • no-instanceof-array: Improve report location (#1389) 6512fbd
  • Use original quote when auto-fixing (#1411) bb81582

Fixes

  • throw-new-error: Fix an edge case (#1390) 806831b
  • Fix cases without space after keywords (#1436) 179b7df

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

Commits
  • 68786b8 35.0.0
  • ad6d13d Upgrade dependencies
  • b68d534 prevent-abbreviations: Use message IDs (#1461)
  • 7af9a6f no-array-callback-reference: Ignore jQuery methods (#1457)
  • 153eb2c Add allowSimpleOperations option to no-array-reduce rule (#1418)
  • efdd90e prevent-abbreviations: Ignore i18n and l10n (#1445)
  • 4a14187 Add prefer-object-from-entries rule (#1308)
  • 73c0dfd no-array-callback-reference: Ignore mobx-state-tree usage (#1455)
  • 343824f Fix fixSpaceAroundKeyword (#1451)
  • fce9d1d new-for-builtins: Check WeakRef and FinalizationRegistry (#1450)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Note: Dependabot was ignoring updates to this dependency, but since you've updated it yourself we've started tracking it for you again. 🤖

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-35.0.0