Skip to content

deps(eslint-config): update dependency eslint-plugin-unicorn to v69#237

Open
mapcolonies-devops wants to merge 1 commit into
masterfrom
renovate/eslint-plugin-unicorn-69.x
Open

deps(eslint-config): update dependency eslint-plugin-unicorn to v69#237
mapcolonies-devops wants to merge 1 commit into
masterfrom
renovate/eslint-plugin-unicorn-69.x

Conversation

@mapcolonies-devops

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-unicorn ^63.0.0^69.0.0 age confidence

Release Notes

sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)

v69.0.0

Compare Source

New rules

Improvements

  • comment-content: Don't mutate commented-out multi-line code (#​3413) bef80c8
  • consistent-boolean-name: Add ignore option and plural prefixes (#​3423) 7cc1d9e
  • consistent-boolean-name: Don't crash on Svelte {#each} bindings (#​3417) effc0e1
  • consistent-conditional-object-spread: Treat undefined/null fallback as an empty branch (#​3401) 38eebbd
  • custom-error-definition: Allow no-substitution template literal for name (#​3383) 594e050
  • custom-error-definition: Don't require options parameter when forwarded to super() inline (#​3377) e931467
  • name-replacements: Exclude Vite type declaration (#​3375) 396c2ed
  • no-computed-property-existence-check: Allow dynamic access to a known boolean value (#​3420) add50ff
  • no-incorrect-template-string-interpolation: Ignore braces inside block comments (#​3429) 2676b5d
  • no-nonstandard-builtin-properties: Allow stack on Error instances (#​3416) b4a3527
  • no-return-array-push: Allow void operator to opt out (#​3384) 046dc75
  • no-return-array-push: Don't report custom push methods that don't return arrays (#​3427) ed1b57e
  • no-top-level-side-effects: Allow type-only exports (#​3421) c896024
  • no-unnecessary-boolean-comparison: Fix false positive for destructured parameters and yield expressions (#​3392) 26f37f8
  • no-unnecessary-global-this: Don't report existence checks (#​3426) 668ec36
  • no-unreadable-object-destructuring: Allow computed keys when a rest element is present (#​3400) 3d3b654
  • no-unsafe-string-replacement: Ignore non-string receivers (#​3442) 05c7c25
  • no-unused-array-method-return: Restrict values() reporting to arrays (#​3434) 9e12972
  • no-useless-boolean-cast: Keep Boolean() around possibly-undefined values (#​3397) d35e538
  • no-useless-concat: Skip concats that form a ${…} placeholder (#​3428) a39fe66
  • no-useless-else: Autofix else bodies containing JSX (#​3419) 3c17b69
  • no-useless-iterator-to-array: Improve fixes (#​3432) 3bc8c69
  • prefer-at: Only check positive string index access with checkAllIndexAccess (#​3415) 68d0d25
  • prefer-code-point: Don't suggest the swap when the result feeds arithmetic (#​3430) 9083ae7
  • prefer-continue: Don't report when the if body exits the loop (#​3414) 2187122
  • prefer-minimal-ternary: Add checkVaryingCallee option (#​3381) c397f87

v68.0.0

Compare Source

Breaking

Awesome

Now 300+ rules 🎉

New rules

Improvements

  • Improve rule performance (#​3339) 42abe74
  • Harden rules (#​3305) 34ca8f6
  • Harden rules (#​3299) d7ce07e
  • prefer-short-arrow-method: Remove from recommended preset (#​3345) 0cfd77a
  • prefer-type-literal-last: Remove from unopinionated preset and stop checking intersection types (#​3320) 447c665
  • consistent-boolean-name: Do not check destructured bindings (#​3324) fb0cfe0
  • logical-assignment-operators: Do not assume the base rule's defaultOptions exist (#​3321) 253e25f
  • logical-assignment-operators: Improve error message (#​3302) 3ec8fec
  • name-replacements: Add more default replacements (#​3365) f968bf3
  • new-for-builtins: Cover more builtins (#​3361) e04ac43
  • no-array-splice: Only report fresh, non-escaping local arrays (#​3301) babb873
  • no-break-in-nested-loop: Handle unlabeled continue in nested switch statements (#​3335) ca893ba
  • no-declarations-before-early-exit: Ignore initializers containing await or yield (#​3303) 6d98190
  • no-incorrect-template-string-interpolation: Remove from unopinionated preset and fix false-positive (#​3319) 39dc546
  • no-manually-wrapped-comments: Ignore some more comments (#​3292) a545dfe
  • no-named-default: Don't drop comments in autofix (#​3306) 44e7361
  • no-unsafe-property-key: Allow intrinsic string-mapping types as keys (#​3343) ba6020f
  • no-useless-coercion: Flag +value, value + '', and value.toString() idioms (#​3338) 23a52f6
  • no-useless-undefined: Flag return undefined for void return type (#​3334) 488d5e3
  • prefer-array-find: Add .filter(…).slice(-1) support (#​3360) b6ea1e2
  • prefer-early-return: Fix lexical declaration autofixes (#​3325) e7771bd
  • prefer-identifier-import-export-specifiers: Check import attribute keys (#​3287) fec43d2
  • prefer-includes-over-repeated-comparisons: Ignore distinct expressions compared against undefined (#​3308) 78858ec
  • prefer-minimal-ternary: Report dynamic computed-key swaps (#​3300) 72879c4
  • prefer-number-properties: Add parseFloat support (#​3307) 4b891d3
  • prefer-object-iterable-methods: Preserve TypeScript casts on value access (#​3327) d3a4d39

v67.0.0

Compare Source

New rules

Improvements


v66.0.0

Compare Source

Breaking

New rules


Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants