Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 22.0.0 to 23.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v23.0.0
New rules
- Add
prefer-math-truncrule (#851) 5ee2432- Add
numeric-separators-stylerule (#833) 6c9b531- Add
prefer-ternaryrule (#514) d59cf95Improvements
explicit-length-check: Use'non-zero': 'greater-than'by default (#850) 7c5df5fprevent-abbreviations: Addfn/func->function,i/idx/j->indexreplacements (#836) e502f42consistent-function-scoping: Check anonymous functions (#835) 29ecbf6no-console-spaces: Make space position more specific (#838) e17a63fno-nested-ternary: Improve report location & message (#844) ca1afa6- Track JSX presence per-function, fixing some false negatives (#830) 85d424c
Fixes
prefer-flat-map: Exclude.flat()where depth is not1(#859) 61d9851https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v22.0.0...v23.0.0
Commits
-
3cdc5ec23.0.0 -
3709b7eprefer-math-trunc: Remove unsafe auto-fix for assignment (#862) -
7a28ecdprefer-add-event-listener: Refactor test (#865) -
43b3324Refactor tests (#554) -
a82a51aUpdate dependencies (#864) -
7228488Support more bitwise operations toprefer-math-trunc(#861) -
61d9851prefer-flat-map: Exclude.flat()where depth is not1(#859) -
6aea62dFix some TODOs (#860) -
476fc4fSupport~~xinprefer-math-truncrule (#855) -
616033dImprove issue templates (#853) - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)