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

Bump eslint-plugin-unicorn from 31.0.0 to 34.0.0

  • Review changes

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

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 31.0.0 to 34.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v34.0.0

New rules

  • no-array-method-this-argument (#1357) 96587f2
  • require-post-message-target-origin (#1326) 03c540b
  • prefer-top-level-await (#1325) 05722a1
    • Disabled in the recommended preset.
  • prefer-at (#1331) 8ca5b46
    • Disabled in the recommended preset.

Improvements

  • prefer-module: Ignore .cjs files (#1355) ebdc3c2
  • error-message: Support AggregateError (#1351) e7b4300
  • filename-case: Enforce lowercased file extension (#1336) 119615b
  • expiring-todo-comments: More helpful error when no conditions (#1375) 914a996
  • prefer-array-some and prefer-regexp-test: Support Vue SFC (#1364) a46050e
  • explicit-length-check: Support v-show directive (#1363) f163c4a
  • explicit-length-check: Support Vue SFC files (#1360) 9199611
  • prefer-type-error: Improve report location (#1354) bc3d58b
  • no-useless-undefined: Ignore Set#add() Map#set() Array#{push,unshift}() (#1353) c6359c3
  • prefer-prototype-methods: Only check methods from [] and {} (#1347) 29a4e75
  • prefer-array-some: Report non-zero check on array.filter().length (#1337) f8aaac2
  • Use context.getPhysicalFilename() (#1344) e2540cb

Fixes

  • prefer-array-find and prefer-at: Fix crash on LHS zero index access (#1373) da1f6d8
  • prefer-prototype-methods: Fix a missing condition on object literal check (#1332) cec7f11

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

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

... (truncated)

Commits
  • e41d1c7 34.0.0
  • f86f980 Fix function name isLeftHandSide (#1383)
  • 914a996 expiring-todo-comments: More helpful error when no conditions (#1375)
  • 0c40db5 empty-brace-spaces: Refactor (#1327)
  • 3d6a07a Fix eslint.org links in readme (#1381)
  • 0ad09c8 SnapshotRuleTester: Fix linter.defineParser() (#1374)
  • da1f6d8 prefer-array-find and prefer-at: Fix crash on LHS zero index access (#1373)
  • 4c2971d no-for-loop: Don't use avaRuleTester directly (#1372)
  • 6cf3ced custom-error-definition: Don't use avaRuleTester directly (#1371)
  • cff1913 no-abusive-eslint-disable: Don't use avaRuleTester directly (#1370)
  • 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-34.0.0