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
@fiskerfor doing most of the work on this project. We could not have gotten this far without him.New rules
no-useless-switch-case(#1779) a8fb966prefer-modern-math-apis(#1780) 6dfdeb0no-unreadable-iife(#1765) ce8a4b7prefer-native-coercion-functions(#1767) 51166f4Improvements
template-indent: Set the ruleerrorinstead ofwarninrecommendedpreset (#1781) 09923afprefer-json-parse-buffer: Remove fromrecommendedpreset (#1750) 93f49f2no-array-for-each: Add fixer for parenthesized call (#1784) 5f39c37no-array-for-each: Handle optional chaining (#1753) 1d32db4prefer-object-from-entries: Stop checking unknown cases (#1771) 309771dprefer-string-trim-start-end: Check optional chaining (#1768) 1920597no-useless-undefined: Ignore arguments inFunction#bind()(#1762) c501243prefer-ternary: Skip fix if there are comments (#1763) 3013565text-encoding-identifier-case: Auto-fix encoding infs.{readFile,readFileSync}()(#1755) 5e1c932- Add
distanddstabbreviations (#1756) dffcea8Fixes
no-array-for-each: HandleChainExpressioncorrectly (#1772) e615a37https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.1...v42.0.0
v41.0.1
relative-url-style: Improve fix (#1748) f406795https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.0...v41.0.1
Commits
-
32ae43642.0.0 -
5f39c37no-array-for-each: Add fix for parenthesized call (#1784) -
51166f4Addprefer-native-coercion-functionsrule (#1767) -
1d32db4no-array-for-each: Handle optional chaining (#1753) -
a8fb966Addno-useless-switch-caserule (#1779) -
6dfdeb0Addprefer-modern-math-apisrule (#1780) -
ce8a4b7Addno-unreadable-iiferule (#1765) -
ea6f300Changeforbidwording everywhere -
28e369cUsedisallowinstead offorbidin rule descriptions (#1777) -
09923afSettemplate-indentrule toerrorinstead ofwarn(#1781) - 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)