Repository navigation
chore(deps): update dependency eslint-plugin-unicorn to v77 - #16485
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
✅ Deploy Preview for jestjs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
babel-jest
babel-plugin-jest-hoist
babel-preset-jest
create-jest
@jest/diff-sequences
expect
@jest/expect-utils
jest
jest-changed-files
jest-circus
jest-cli
jest-config
@jest/console
@jest/core
@jest/create-cache-key-function
jest-diff
jest-docblock
jest-each
@jest/environment
jest-environment-jsdom
@jest/environment-jsdom-abstract
jest-environment-node
@jest/expect
@jest/fake-timers
@jest/get-type
@jest/globals
jest-haste-map
jest-jasmine2
jest-leak-detector
jest-matcher-utils
jest-message-util
jest-mock
@jest/pattern
jest-phabricator
jest-regex-util
@jest/reporters
jest-resolve
jest-resolve-dependencies
jest-runner
jest-runtime
@jest/schemas
jest-snapshot
@jest/snapshot-utils
@jest/source-map
@jest/test-result
@jest/test-sequencer
@jest/transform
@jest/types
jest-util
jest-validate
jest-watcher
jest-worker
pretty-format
commit: |
This branch has not been deployed
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:
^64.0.0→^77.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v77.0.0Compare Source
Breaking
eslint-cssicorn(#3811)c3697c0unicorn/no-deprecated-css-features→cssicorn/no-deprecated-featuresunicorn/no-duplicate-css-selectors→cssicorn/no-duplicate-selectorsunicorn/no-duplicate-font-family-names→cssicorn/no-duplicate-font-family-namesunicorn/no-invalid-media-features→cssicorn/no-invalid-media-featuresunicorn/no-nesting-with-mixed-specificity→cssicorn/no-nesting-with-mixed-specificityunicorn/no-redundant-nested-style-rules→cssicorn/no-redundant-nested-style-rulesunicorn/no-unknown-css-annotations→cssicorn/no-unknown-annotationsunicorn/no-unknown-pseudo-selectors→cssicorn/no-unknown-pseudo-selectorsunicorn/no-unscoped-css-nesting-selector→cssicorn/no-unscoped-nesting-selectorunicorn/prefer-explicit-viewport-units→cssicorn/prefer-explicit-viewport-unitsunicorn/prefer-media-feature-range-syntax→cssicorn/prefer-media-feature-range-syntaxflat/recommendedandflat/allconfigs (#3810)6f989c6recommendedandallinstead.New rules
no-invalid-response-options(#3808)7d59006no-prevent-default-in-passive-listener(#3806)09f94f2no-invalid-boolean-attribute-value(#3807)2b91aa7no-conflicting-constraints(#3805)7c9b39ano-invalid-property-descriptor(#3804)d0bd123no-invalid-url-protocol-comparison(#3803)ec7b063no-invalid-integrity(#3802)d0b974cno-url-in-search-params(#3800)c1008cfno-invalid-dom-token(#3799)85c9aa1require-text-decoder-streaming(#3798)f3c317eno-invalid-temporal-arithmetic(#3797)47904f2no-invalid-style-set-property(#3796)239dd0bno-ineffective-csp-directives(#3795)a28a104no-invalid-intl-options(#3794)e7dc6d6no-unsafe-json-serialization(#3793)7cc147bcomma-spacing(#3790)a7a4180no-empty-link-text(#3789)742b361no-leading-empty-lines(#3786)5c509bbno-unnecessary-parameters(#3784)e143b4bprefer-promise-static-methods(#3747)f3eefdeno-javascript-url(#3746)201e128no-incomplete-accessor-override(#3745)dee7a61prefer-escaped-irregular-whitespace(#3742)d7f8222key-name-casing(#3741)a330d28prefer-literal-ascii(#3734)e9b5bcdprefer-short-escape-sequences(#3731)0e66146no-loss-of-precision(#3729)d4bdf38indent(#3726)64ff93dImprovements
recommended-css,recommended-html,recommended-json,recommended-markdown,recommended-toml, andrecommended-yaml(#3810)6f989c6a330d28consistent-compound-words,empty-brace-spaces,escape-case,name-replacements,no-manually-wrapped-comments,no-zero-fractions,number-literal-case,single-line-block-comment-style,string-contentconsistent-compound-words,empty-brace-spaces,escape-case,id-match,name-replacements,no-zero-fractions,number-literal-case,relative-url-style,single-line-block-comment-style,string-contentconsistent-compound-words,id-match,name-replacements,relative-url-stylename-replacements,relative-url-styleconsistent-compound-words,empty-brace-spaces,escape-case,name-replacements,no-manually-wrapped-comments,no-zero-fractions,number-literal-case,string-contentconsistent-compound-words,empty-brace-spaces,name-replacements,no-zero-fractionseslint-disablecomments suppress reports instead of making rules skip the code, which made the directive look unused (#3783)2428f98no-asterisk-prefix-in-documentation-comments: Support CSS and JSON, and enable inrecommendedpreset (#3725)d0f8a03number-literal-case: Move fromunopinionatedtorecommendedpreset769e2d5prefer-combined-guards: AddcheckMultiStatementBodiesoption (#3760)490ff39prefer-simplified-conditions: AddnegatedConditionsoption (#3778)2bb9171comment-content: Improve performance (#3763)cbe4b6bconsistent-conditional-object-spread: Report unnecessary boolean casts inlogicalmode (#3761)1bc3b07logical-assignment-operators: Support computed properties (#3739)1c7901fname-replacements: Preferrepositoryoverrepo(#3743)54ff97fno-await-in-promise-methods: Report nestedawait(#3758)8c2c194no-invalid-argument-count: Avoid false positives for spread arguments (#3781)769208ano-manually-wrapped-comments: Support block comments and CSS (#3744)1e82f7ano-shorthand-property-overrides: Improve shorthand detection (#3792)b1b8904no-unnecessary-array-flat-map: Remove unnecessary singleton array wrappers (#3782)eedbb2cprefer-default-parameters: Report bindings with consistent fallback expressions (#3780)1ef535dprefer-direct-iteration: Fix type inference for destructured bindings (#3809)93ef59cprefer-early-return,prefer-continue: Check guards after other statements incheckShortBodies(#3759)6f405dfprefer-logical-operator-over-ternary: Only simplify boolean branches (#3768)d84d561prefer-simple-condition-first: Handletypeofguards (#3740)118000bprefer-single-call: Make array call autofixes safe (#3770)bcb9394prefer-single-object-destructuring: Inline local sources (#3779)fa417ffprefer-uint8array-hex: Recognize more encoding patterns (#3791)dd24a9av76.0.0Compare Source
Breaking
no-immediate-mutation: AddcheckConditionalsoption and default it to off (#3707)4686e7eno-break-in-nested-loop: AddcheckContinueoption and default it to off (#3712)d8fbfdeprefer-combined-guards: AddcheckCompoundConditionsoption default it to off (#3710)Improvements
prefer-minimal-ternary: Add autofix (#3716)aaa75a4prefer-logical-operator-over-ternary: Handle boolean expressions (#3711)prefer-ternary: Preserve readable branches (#3709)f7a35aeno-typeof-undefined: Ignore TypeScript ambient variables (#3708)9245ed8db20ce1v75.0.0Compare Source
New rules
prefer-combined-guards(#3680)5d9d745no-unused-iterator-helper(#3677)8213737no-unused-builtin-method-return(#3676)b3d56a3prefer-iterator-zip(#3675)60d3b53no-useless-set-construction(#3672)639c984prefer-iterator-helpers(#3670)4c805e2prefer-json-import(#3668)1df640dprefer-temporal-conversion(#3667)74bc02eno-async-iterator-callback(#3666)bb6c245no-using-resource-escape(#3663)3424785prefer-uint8array-hex(#3661)9255132no-deprecated-css-features(#3651)e116102no-unscoped-css-nesting-selector(#3650)ebd03bdno-duplicate-css-selectors(#3646)508d9f5no-unknown-pseudo-selectors(#3644)99492cdno-invalid-media-features(#3643)ef37c1fno-unknown-css-annotations(#3642)19637eeno-nesting-with-mixed-specificity(#3640)b2f2bf9prefer-media-feature-range-syntax(#3639)19f112fno-duplicate-font-family-names(#3638)c8f81bcno-redundant-nested-style-rules(#3637)31603adImprovements
f61393a3cfa32cprefer-continue: AddcheckShortBodiesoption (#3699)274d581filename-case: AdddirectoryRootsoption (#3647)d2d6cc3custom-error-definition: Allow flexible options placement (#3698)2f8e2e5prefer-smaller-scope: Check initialized declarations (#3697)960b374no-unsafe-string-replacement: Allow safe repeated strings (#3696)742bdceno-array-fill-with-reference-type: Recognize function return types (#3695)60f00ffprefer-continue: Support trailing conditionals (#3694)bf480f6no-immediate-mutation: Support conditionals (#3688)73235b9prefer-set-methods: Extend supported methods (#3674)3459a29prefer-minimal-ternary: Check property reads withcheckComputedMemberAccess(#3673)37d7614prefer-array-from-async: Recognize ordinary serial mapping loops (#3671)65ad1bbprefer-uint8array-base64: Prefer native encoding options (#3665)6ecc912prefer-group-by: Recognize accumulation loops (#3664)a8e7d0eno-negated-condition: Preserve comments in autofixes (#3662)8f407a7prefer-minimal-ternary: Support objects, arrays, and constructors (#3658)40c860aprefer-ternary: Handle flat return statements (#3657)2edc158no-useless-else: Prevent unsafe combined fixes (#3654)7beaf7dno-useless-length-check: Checkfor…ofloops (#3652)fdf47c5no-unknown-css-annotations: Fix identifier lookup across@eslint/css-treeversions9b6f37bprefer-dom-node-replace-children: Combine consecutive mutations (#3648)52dd1cev74.0.0Compare Source
Improvements
4ff2eabcomment-content: Handle JSDoc syntax (#3616)bf7dca2consistent-arrow-return-style: Fix indentation andinoperator handling (#3621)398606cconsistent-boolean-name: Support possibly async boolean callbacks (#3624)823bb1fcustom-error-definition: Avoid requiring nativeErrorOptionsfor custom bases (#3617)96fd371custom-error-definition: Support TypeScript parameter properties (#3619)872fd55expiring-todo-comments: Add YAML support (#3625)e437f23name-replacements: AllowProcessEnvtype (#3608)2e19a94no-array-fill-with-reference-type: Ignore canvas contexts (#3635)d7f5fa1no-empty-file: Add YAML support (#3627)043a523no-nonstandard-builtin-properties: Support stage 4 proposals (#3631)0a24d74no-unnecessary-splice: Fix false positives when the return value is used (#3611)cc58720no-useless-else: Fix false positive in mutable branch conditions (#3612)725e535prefer-default-parameters: Support logical assignment operators (#3629)8eb0897v73.0.0Compare Source
New rules
consistent-arrow-return-style(#3601)ae3c3d9iteration-fallback-style(#3602)a61c2c5no-barrel-files(#3570)d900c09no-unsafe-sqlite-interpolation(#3582)a09869bsingle-line-block-comment-style(#3584)a0c2c57Improvements
7b7c7909c2b0bbconsistent-boolean-name: Addwrappersoption (#3572)78c5abfconsistent-boolean-name: Add granular check options (#3591)a33b1c1consistent-function-style: AdddefaultExportoption (#3600)e78a7c9prefer-https: Addignoreoption (#3557)7f7ec06comment-content: Handle Unicode word boundaries (#3597)dd52b4aimport-style: Ignore type-only imports (#3599)f2a62e3name-replacements: Handle TypeScript parameter properties (#3575)fa0df7bno-negated-comparison: Never check relational operators (#3589)6120423no-this-outside-of-class: Allow explicit TypeScriptthisparameters (#3596)6a709b7no-unnecessary-string-trim: Handle Zod string schemas (#3577)1c06db0prefer-else-if: Handle existingelse ifchains (#3587)46eaaf0prefer-simple-condition-first: Treat== nullchecks as simple (#3559)d1be07eprefer-set-has: Fix false positives for computed members (#3562)2817682consistent-export-decorator-position: Fix decorator position reporting (#3583)0a19cb4no-array-for-each: Fix deprecation docs (#3568)0096a18process.exitcontrol-flow analysis (#3590)342a5edv72.0.0Compare Source
Breaking
prefer-minimal-ternary: RenamecheckVaryingCalleeoption tocheckVaryingBase(#3508)825b7b9New rules
no-missing-local-resource(#3528)12a33c6no-multiple-promise-resolver-calls(#3523)81ab092no-shorthand-property-overrides(#3527)91a4c4dno-transition-all(#3529)5ef2fcfno-unnecessary-string-trim(#3517)a651672no-useless-re-export(#3540)96afe55prefer-explicit-viewport-units(#3532)449e636prefer-then-catch(#3526)a17e5a2require-frontmatter-fields(#3525)dfd91cdImprovements
8233f95consistent-boolean-name: Support Vue refs (#3555)79e79d5no-incorrect-template-string-interpolation: Ignore Unicode code point escapes (#3513)36fdf1ano-negated-comparison: Ignore relational comparisons with optional chaining (#3512)7b7e28ano-top-level-side-effects: Ignore<script setup>(#3542)af8fd60no-unnecessary-array-flat-map: Handle TypeScript Vue files (#3545)b6d01a0no-unsafe-property-key: Use type information for narrowed property keys (#3515)69a6002no-unused-array-method-return: Ignore expect assertions (#3552)110cc58no-useless-promise-resolve-reject: Handleawaited calls (#3504)9b8a144no-useless-template-literals: Ignore const assertions (#3543)4367228prefer-await: Add async IIFE suggestion (#3550)305fb4bprefer-dom-node-html-methods: Add options and add torecommendedpreset (#3541)581ef47prefer-export-from: Preserve JSDoc comments on single-const re-exports (#3544)e273ab6prefer-short-arrow-method: Addconsistent-as-neededoption (#3514)c068745prefer-simple-condition-first: Fix logic (#3530)a339abeprefer-split-limit: Support array destructuring (#3554)b23f959prefer-string-starts-ends-with: Detect slice comparisons (#3518)98730deprefer-minimal-ternary: Don't report object-varying member access by default (#3508)825b7b9v71.1.0Compare Source
consistent-boolean-name: Allow async boolean predicates (#3502)dafc7c9consistent-boolean-name: Allow boolean-like React refs withRefsuffix (#3501)064d890v71.0.0Compare Source
Improvements
consistent-boolean-name: Ignore destructured variables (#3485)0de22c5consistent-boolean-name: Skip React hooks by default (#3487)fab07e2isolated-functions: Respect configured globals in isolated functions (#3495)1af1d1ano-unnecessary-array-flat-map: Ignore conditional flatMap fixes in TypeScript (#3499)5eb6d87prefer-boolean-return: Ignore repeated boolean guard clauses (#3494)fdb3d89prefer-top-level-await: Ignore Svelte files (#3489)58670ffprefer-uint8array-base64: Remove from presets (#3493)3f4c31ev70.0.0Compare Source
New rules
no-async-promise-finally(#3450)5aa9ea1no-unnecessary-fetch-options(#3476)db4e852no-unsafe-promise-all-settled-values(#3449)f66e080prefer-abort-signal-any(#3447)f044cefprefer-array-flat-map](https://redireConfiguration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.