chore(deps-dev): bump eslint-plugin-unicorn from 75.0.0 to 76.0.0

Closed
DE
19d ago
+3-5

Bumps eslint-plugin-unicorn from 75.0.0 to 76.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v76.0.0

Breaking

Improvements

  • prefer-minimal-ternary: Add autofix (#3716) aaa75a46
  • prefer-logical-operator-over-ternary: Handle boolean expressions (#3711)
  • prefer-ternary: Preserve readable branches (#3709) f7a35aea
  • no-typeof-undefined: Ignore TypeScript ambient variables (#3708) 9245ed87
  • Fix autofixes that hardcoded a tab for inserted indentation (#3721) db20ce1c

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v75.0.0...v76.0.0

Commits
  • f70155e 76.0.0
  • db20ce1 Fix autofixes that hardcoded a tab for inserted indentation (#3721)
  • aaa75a4 prefer-minimal-ternary: Add autofix (#3716)
  • 577746b prefer-logical-operator-over-ternary: Handle boolean expressions (#3711)
  • d8fbfde no-break-in-nested-loop: Add checkContinue option and default it to off (...
  • a0fdbef prefer-combined-guards: Add checkCompoundConditions option and make it of...
  • f7a35ae prefer-ternary: Preserve readable branches (#3709)
  • 9245ed8 no-typeof-undefined: Ignore TypeScript ambient variables (#3708)
  • 4686e7e no-immediate-mutation: Add checkConditionals option and default it to off...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Summary by cubic

Bumps eslint-plugin-unicorn from 75.0.0 to 76.0.0. This is a major version bump; the breaking changes add new rule options (checkConditionals, checkContinue, checkCompoundConditions) that default to off, so lint behavior stays the same unless a config opts in.

  • New autofixes for prefer-minimal-ternary and indentation changes may alter --fix output.
  • prefer-ternary now preserves readable branches, which may reduce autofix churn.