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

Bump eslint-plugin-unicorn from 41.0.0 to 42.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/npm_and_yarn/eslint-plugin-unicorn-42.0.0 into main Apr 05, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dependabot[bot]

Bumps eslint-plugin-unicorn from 41.0.0 to 42.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v42.0.0

The project has passed 100 lint rules 🎉

Thanks to everyone that has contributed so far.

And special thanks to our team member @​fisker for doing most of the work on this project. We could not have gotten this far without him.

New rules

  • no-useless-switch-case (#1779) a8fb966
  • prefer-modern-math-apis (#1780) 6dfdeb0
  • no-unreadable-iife (#1765) ce8a4b7
  • prefer-native-coercion-functions (#1767) 51166f4

Improvements

  • template-indent: Set the rule error instead of warn in recommended preset (#1781) 09923af
  • prefer-json-parse-buffer: Remove from recommended preset (#1750) 93f49f2
  • no-array-for-each: Add fixer for parenthesized call (#1784) 5f39c37
  • no-array-for-each: Handle optional chaining (#1753) 1d32db4
  • prefer-object-from-entries: Stop checking unknown cases (#1771) 309771d
  • prefer-string-trim-start-end: Check optional chaining (#1768) 1920597
  • no-useless-undefined: Ignore arguments in Function#bind() (#1762) c501243
  • prefer-ternary: Skip fix if there are comments (#1763) 3013565
  • text-encoding-identifier-case: Auto-fix encoding in fs.{readFile,readFileSync}() (#1755) 5e1c932
  • Add dist and dst abbreviations (#1756) dffcea8

Fixes

  • no-array-for-each: Handle ChainExpression correctly (#1772) e615a37

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

v41.0.1

  • relative-url-style: Improve fix (#1748) f406795

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

Commits
  • 32ae436 42.0.0
  • 5f39c37 no-array-for-each: Add fix for parenthesized call (#1784)
  • 51166f4 Add prefer-native-coercion-functions rule (#1767)
  • 1d32db4 no-array-for-each: Handle optional chaining (#1753)
  • a8fb966 Add no-useless-switch-case rule (#1779)
  • 6dfdeb0 Add prefer-modern-math-apis rule (#1780)
  • ce8a4b7 Add no-unreadable-iife rule (#1765)
  • ea6f300 Change forbid wording everywhere
  • 28e369c Use disallow instead of forbid in rule descriptions (#1777)
  • 09923af Set template-indent rule to error instead of warn (#1781)
  • 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-42.0.0