chore(deps): update dependency eslint-plugin-unicorn to v64 #39
Reference in New Issue
Block a user
Delete Branch "renovate/eslint-plugin-unicorn-64.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
61.0.2→64.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v64.0.0Compare Source
New rules
consistent-template-literal-escape(#2866)55444b4no-useless-iterator-to-array(#2872)641b88cprefer-simple-condition-first(#2902)b0279ddswitch-case-break-position(#2910)8d5d487Improvements
6b41299text-encoding-identifier-case: Support template literals (#2905)9448c8cprefer-math-min-max: Ignore Date objects (#2903)cd53d9eprevent-abbreviations: Handle exported TS interfaces and enums (#2898)6dc01d2no-array-callback-reference: Skip TypeScript type predicate callbacks (#2897)02364c8prefer-spread: Skip autofix when it would drop comments (#2896)6ff1467no-useless-undefined: Flagreturn undefinedfor explicit undefined return types (#2876)41fc9c2no-unnecessary-polyfills: Improve performance (#2874)c88bf29expiring-todo-comments: AddignoreDatesoption (#2892)95a288bprevent-abbreviations: Recognize jQuery42f5364prefer-object-from-entries: Avoid auto-fixing generic reduce (#2878)bea9b20Fixes
expiring-todo-comments: Fix partial version comparison (#2895)51390e9consistent-destructuring: Fix false positive for nested rest destructuring (#2894)1cddfb5consistent-destructuring: Fix false positive after reassignment (#2893)c7f57d0consistent-function-scoping: Fix TypeScript false positives for lexicalthis(#2885)a383657custom-error-definition: Fix class field autofix (#2887)1359726explicit-length-check: Fix||fallback false positives (#2889)84246ecexplicit-length-check: Avoid unsafe autofix in negated comparisons (#2883)73b043bimport-style: Fix false positive for type-only import (#2891)aea9954no-unused-properties: Fix for JSX member access (#2890)0ff698bbetter-regex: Fix empty-pattern autofix (#2881)c201987prefer-global-this: Fix for window-specificinchecks (#2879)6bf7537prefer-native-coercion-functions: Fix false positive for TS type predicates (#2888)4c4b565prefer-set-has: Fix string false positives (#2882)c230c22prefer-top-level-await: Fix false positive withPromise.all(#2884)67faa7av63.0.0Compare Source
New rules
isolated-functions(#2701)4956a6bImprovements
bd0901bprefer-set-size: AddArray.from()support (#2857)e556143prefer-bigint-literals: Support signed numbers and strings (#2784)a332a50prefer-export-from: Fix type-import being removed when using namespace import (#2771)ab4b779prefer-spread: Fix: Skip TypedArray and ArrayBuffer constructor calls (#2871)42a558fno-array-sort: Ignore.sort()calls with non-function arguments (#2862)cbb2377prefer-add-event-listener: Don't autofix non-function assignments (#2865)989ec61explicit-length-check: Ignore||with string fallback value (#2861)4806f7eno-unnecessary-polyfills: Fix false positive for graduatedesnextfeatures (#2864)d6c13abno-for-loop: Skip auto-fix for string types when.entries()would be needed (#2869)08a591aimport-style: Fix crash onexport {x}withoutfromclause (#2868)141c8c5expiring-todo-comments: Should not flag ESLint disable comments (#2828)3568dafno-useless-collection-argument: Use suggestions to remove empty array with comments (#2838)c0d0687prefer-set-has: CheckIterator#toArray()andString#split()(#2829)ab8970eno-useless-spread: Fix false positive onIterator(#2831)994e31cisolated-functions: Ignore TypeScript types (#2822)c3479c0prefer-string-raw: Exclude inline snapshot (#2811)6e7f93cconsistent-assert: Explicitly check specifier node type (#2803)396a8fav62.0.0Compare Source
New rules
no-immediate-mutation(#2787)e1c7d2eno-useless-collection-argument(#2777)2d07c9aprefer-response-static-json(#2778)ffe5943Improvements
text-encoding-identifier-case: AddwithDashoption (#2780)9025386no-useless-undefined: Check oneundefinedat a time (#2792)27f7509prefer-single-call: Check optional chaining (#2788)8a132actext-encoding-identifier-case: Enforce'utf-8'inform[acceptCharset]andTextDecoder(#2785)46b3974prefer-node-protocol: Handle TypeScript import types (#2774)13a37a0no-array-for-each: IgnoreforEachfor Effect library (#2783)2ef6f83prefer-string-raw: Ignore more places that requires a string (#2776)43bc429prefer-string-raw: Add support for template literals (#2691)52723a2prefer-global-this: AddnavigationtowindowSpecificAPIs(#2770)0c93998prefer-code-point: Report cases whereString.fromCharCodeis not called directly (#2766)1d682a1no-useless-spread: Safely remove empty array and object (#2764)7aeababFixes
consistent-function-scoping: Fix inconsistent behavior (#2748)a546444Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.