deps(eslint-config): update dependency eslint-plugin-unicorn to v65#216
Open
mapcolonies-devops wants to merge 1 commit into
Open
deps(eslint-config): update dependency eslint-plugin-unicorn to v65#216mapcolonies-devops wants to merge 1 commit into
mapcolonies-devops wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^63.0.0→^65.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v65.0.1Compare Source
no-unused-array-method-return: Fix false positive on type assertions (#3065)4939b00prefer-https: Fix false positive on XML namespace URIs (#3063)5184262v65.0.0Compare Source
Breaking
better-regexrule (#2968)89dc5dcignore*boolean options tocheck*for consistency (#3045)8acfea1expiring-todo-comments:ignoreDates→checkDatesexpiring-todo-comments:ignoreDatesOnPullRequests→checkDatesOnPullRequestsprefer-export-from:ignoreUsedVariables→checkUsedVariablesprefer-dom-node-datasetrule todom-node-dataset3f51bc6expiring-todo-comments: MakecheckDatesoptiontrueby default (#3044)5e31bbaprefer-global-this: Remove exemption for WebWorker-specific APIs (#2926)add2138New rules
better-dom-traversing(#3052)df50ceeconsistent-compound-words(#3061)fcacf46consistent-json-file-read(#2987)d9d3862no-array-fill-with-reference-type(#3039)47356fano-array-from-fill(#3007)57324cbno-blob-to-file(#2993)7302833no-canvas-to-image(#2985)b4a5af1no-confusing-array-splice(#2978)01ae1d2no-duplicate-set-values(#2995)f29a382no-exports-in-scripts(#3015)4cbb529no-incorrect-query-selector(#3059)150b5f1no-invalid-file-input-accept(#3047)2c8d77bno-late-current-target-access(#2974)db86086no-manually-wrapped-comments(#3036)87fe35bno-this-outside-of-class(#3030)21fc369no-unnecessary-nested-ternary(#3023)cc1ced2no-unused-array-method-return(#2940)a7d8a6cprefer-array-last-methods(#3029)108d7a1prefer-get-or-insert-computed(#2979)f48f380prefer-https(#3014)838695eprefer-includes-over-repeated-comparisons(#3056)3c5880eprefer-iterator-concat(#2998)5c52d0cprefer-iterator-to-array-at-end(#3041)6b341b6prefer-math-abs(#2996)7df5b48prefer-queue-microtask(#3050)3fc8b03prefer-split-limit(#3019)6308c1dprefer-string-match-all(#3057)c9b5ec8prefer-string-pad-start-end(#3002)3736c66prefer-string-repeat(#2988)e52c455require-css-escape(#3037)55ff804require-passive-events(#3004)4c17568try-complexity(#3055)e7a1999Improvements
prefer-dom-node-dataset: AddpreferAttributesoption (#2918)3f51bc6consistent-function-scoping: Ignore functions in Jest mock factories (#3032)8711c4acustom-error-definition: Handle custom error message accessors (#2980)1b82067expiring-todo-comments: Add CSS support (#2972)4fd8dd5explicit-length-check: Ignore nullable property guards (#3006)8b96ae0filename-case: Check directories too (#3038)a85e9e8filename-case: Allow$-prefixed filenames (#3012)b9cbbedimport-style: Warn about misuse when all styles are set tofalse(#3043)f446f98no-array-callback-reference: Addignoreoption (#3042)8d33cafno-array-callback-reference: Use singular callback parameter names (#3035)ced1210no-array-for-each: Ignorestrict-callbag-basicsnamespaces (#3010)d3a643eno-array-reduce: Add autofix (#3058)b0248a6no-empty-file: AddallowCommentsoption (#2984)3908ccdno-null: AddcheckArgumentsoption (#3049)ff658c5no-useless-spread: Report spreading into collection constructors (#3025)0dbd8d7no-useless-undefined: IgnorePromise.resolve(undefined)in TS (#3031)3310c37numeric-separators-style: AddfractionGroupLengthoption (#3051)0074463prefer-array-some: Detect assigned find results (#3028)f34565dprefer-at: Ignorearguments(#2976)24e6575prefer-query-selector: AddallowWithVariablesoption (#2953)2d51e30prefer-set-has: Allow compatible extra usages (#3060)49535b0prefer-set-has: AddminimumItemsoption (#3024)cbf5e88prefer-set-has: Improve TypeScript autofix (#2983)63f87d9prefer-single-call: Addunshift()support (#3034)b207989prefer-string-raw: Forbid unnecessaryString.raw(#2695)1fdace0prefer-string-replace-all: EnforcereplaceAlloversplit().join()(#3048)9ad4657prefer-string-slice: Improve autofix (#3021)3407bf7prefer-top-level-await: Ignore variable initializers (#3020)53cfc3cprevent-abbreviations: Add suggestions for ambiguous replacements (#3033)c0d638fprevent-abbreviations: Avoid unsafe parameter autofixes (#3054)fc18bd9string-content: AddcaseSensitiveoption (#3053)afbc462string-content: Addselectorsoption (#3026)82a1962c9153caFixes
consistent-destructuring: Fix type guards (#2994)20d3107explicit-length-check: Fix false positive (#2989)04f6883no-array-callback-reference: Fix local callbacks (#3027)9212b9bno-lonely-if: Fix fixer overlap with whole-range fixes0e023e3no-unnecessary-polyfills: Fix false positives for multi-feature imports (#2941)4523856prefer-at: Avoid reporting object index access (#2999)f0509daprefer-dom-node-append: Fix append API label (#3018)aa1e02dprefer-dom-node-remove: Improve fixer (#2991)0c4bac4prefer-keyboard-event-key: Handle more cases (#2992)4bfd377prefer-regexp-test: Fix length checks (#2986)16387c8prefer-regexp-test: Ignore RTK action matchers (#3003)5bc965dprefer-spread: Fix string false positives (#3011)7c630d1prefer-top-level-await: Fix under@typescript-eslint/parser(#2948)93f33ebprefer-top-level-await: Ignore Zod schema catch fallback (#3005)889da5arequire-module-specifiers: Allow bareexport {}as a module marker (#3001)c21bf37template-indent: Fix root indentation detection (#2981)f0e4fadthrow-new-error: Fix decorator false positive (#3000)3ea18cc5ed8490v64.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)67faa7aConfiguration
📅 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.