Update dependency eslint-plugin-unicorn to v76 #162
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/major-eslint-node"
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:
^72.0.0→^76.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v76.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)342a5edConfiguration
📅 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 has been generated by Mend Renovate CLI.
be75e0b75da02d075fb5a02d075fb5c2e47012a5Update dependency eslint-plugin-unicorn to v73to Update dependency eslint-plugin-unicorn to v74c2e47012a5e82a5c3a65Update dependency eslint-plugin-unicorn to v74to Update dependency eslint-plugin-unicorn to v75e82a5c3a65a1acbb9851Update dependency eslint-plugin-unicorn to v75to Update dependency eslint-plugin-unicorn to v76View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.