Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: update ESLint #1397

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Chore: update ESLint #1397

merged 2 commits into from
Dec 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) 8.11.0 -> 8.18.2 age adoption passing confidence
@typescript-eslint/parser (source) 8.11.0 -> 8.18.2 age adoption passing confidence
eslint-plugin-jest 28.8.3 -> 28.10.0 age adoption passing confidence
eslint-plugin-jsdoc 50.4.3 -> 50.6.1 age adoption passing confidence
eslint-plugin-unicorn 56.0.0 -> 56.0.1 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.18.2

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-condition] handle noUncheckedIndexedAccess true (#​10514)
  • eslint-plugin: [consistent-type-assertions] allow default assertionStyle option (#​10512)
  • eslint-plugin: [no-unnecessary-type-arguments] handle type/value context (#​10503)
  • eslint-plugin: [no-unsafe-type-assertion] fix for unsafe assertion to a constrained type parameter (#​10461)
  • eslint-plugin: [consistent-indexed-object-style] use a suggestion over an auto-fix if can't reliably determine that produced index signature is valid (#​10490)
  • eslint-plugin: [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter (#​10473)
  • eslint-plugin: [prefer-reduce-type-parameter] don't report cases in which the fix results in a type error (#​10494)
  • eslint-plugin: [no-deprecated] not reporting usages of deprecated declared constants as object value (#​10498)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.18.1

Compare Source

🩹 Fixes
  • scope-manager: visit params decorator before nest scope (#​10475)
  • eslint-plugin: [no-unnecessary-condition] better message when comparing between literal types (#​10454)
  • eslint-plugin: use consistent naming for asserting types and casting values (#​10472)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] flag values of a type parameter with boolean type constraints (#​10474)
  • eslint-plugin: handle string like index type (#​10460)
  • eslint-plugin: [no-unnecessary-template-expression] don't report when an expression includes comment (#​10444)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.18.0

Compare Source

🚀 Features
  • eslint-plugin: [switch-exhaustiveness-check] add support for "no default" comment (#​10218)
  • eslint-plugin: [no-deprecated] report on super call of deprecated constructor (#​10397)
🩹 Fixes
  • eslint-plugin: [use-unknown-in-catch-callback-variable] only flag function literals (#​10436)
  • eslint-plugin: [no-base-to-string] handle more robustly when multiple toString() declarations are present for a type (#​10432)
  • eslint-plugin: [no-deprecated] check if a JSX attribute is deprecated (#​10374)
  • typescript peer dependency (#​10373)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.17.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-promise-reject-errors] options to allow any and unknown (#​10392)
🩹 Fixes
  • eslint-plugin: [promise-function-async] handle function overloading (#​10304)
  • eslint-plugin: remove references to "extendDefaults" in no-restricted-types (#​10401)
  • eslint-plugin: [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (#​10363)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.16.0

Compare Source

🚀 Features
  • eslint-plugin: [no-base-to-string] check Array.prototype.join (#​10287)
  • eslint-plugin: [max-params] add function overload and function type support (#​10312)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.15.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-nullish-coalescing] fix detection of ignoreConditionalTests involving boolean ! operator (#​10299)
  • eslint-plugin: new rule no-unsafe-type-assertion (#​10051)
  • eslint-plugin: added related-getter-setter-pairs rule (#​10192)
🩹 Fixes
  • utils: add defaultOptions to meta in rule (#​10339)
  • eslint-plugin: report deprecations used in default export (#​10330)
  • eslint-plugin: [explicit-module-boundary-types] and [explicit-function-return-type] don't report on as const satisfies (#​10315)
  • eslint-plugin: [await-thenable, return-await] don't flag awaiting unconstrained type parameter as unnecessary (#​10314)
  • eslint-plugin: [consistent-indexed-object-style] handle circular mapped types (#​10301)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.14.0

Compare Source

🚀 Features
  • eslint-plugin: [await-thenable] report unnecessary await using statements (#​10209)
  • eslint-plugin: [no-confusing-void-expression] add an option to ignore void<->void (#​10067)
🩹 Fixes
  • scope-manager: fix asserted increments not being marked as write references (#​10271)
  • eslint-plugin: [no-misused-promises] improve report loc for methods (#​10216)
  • eslint-plugin: [no-unnecessary-condition] improve error message for literal comparisons (#​10194)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.13.0

Compare Source

🚀 Features
  • eslint-plugin: [only-throw-error] add allow option (#​10221)
  • eslint-plugin: [prefer-nullish-coalescing] add option ignoreBooleanCoercion (#​9924)
  • eslint-plugin: disable no-class-assign rule in eslint-recommended config (#​10250)
🩹 Fixes
  • eslint-plugin: [switch-exhaustiveness-check] add support for covering a missing property with undefined (#​10232)
  • eslint-plugin: [consistent-type-definitions] don't leave trailing parens when fixing type to interface (#​10235)
  • eslint-plugin: [no-deprecated] report when exported class implements/extends deprecated entity (#​10259)
  • eslint-plugin: [no-deprecated] report on deprecated variables used inside dynamic imports (#​10261)
  • eslint-plugin: [no-unnecessary-condition] falsey bigint should be falsey (#​10205)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.2

Compare Source

🩹 Fixes
  • eslint-plugin: [switch-exhaustiveness-check] invert considerDefaultExhaustiveForUnions (#​10223)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.1

Compare Source

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.12.0

Compare Source

🚀 Features
  • eslint-plugin: [no-base-to-string] handle String() (#​10005)
  • eslint-plugin: [switch-exhaustiveness-check] add allowDefaultCaseMatchUnionMember option (#​9954)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#​10160)
  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#​10152)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v8.18.2

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.18.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.18.0

Compare Source

🩹 Fixes
❤️ Thank You
  • rtritto

You can read about our versioning strategy and releases on our website.

v8.17.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.16.0

Compare Source

🚀 Features
❤️ Thank You
  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

v8.15.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.14.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.13.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.12.2

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.12.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.12.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

jest-community/eslint-plugin-jest (eslint-plugin-jest)

v28.10.0

Compare Source

Features
  • unbound-method: ignore functions passed to jest.mocked (#​1681) (d868636)

v28.9.0

Compare Source

Features

28.8.3 (2024-09-04)

Bug Fixes
  • prefer-importing-jest-globals: don't add imports in the middle of statements (#​1645) (9c4197c)

28.8.2 (2024-09-02)

Performance Improvements
  • prefer-importing-jest-globals: stop collecting import specifiers for no reason (#​1646) (0660242)

28.8.1 (2024-08-29)

Bug Fixes
  • prefer-importing-jest-globals: support typescript-eslint parser (#​1639) (307f6a7)
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)

v50.6.1

Compare Source

Bug Fixes

v50.6.0

Compare Source

Features
  • lines-before-block: move start-of-block checking behind off-by-default checkBlockStarts option (#​1341) (f9b102d)

v50.5.0

Compare Source

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

v56.0.1

Compare Source

  • expiring-todo-comments: Fix compatibility with ESLint 9.15 (#​2497) 16b09d3

Configuration

📅 Schedule: Branch creation - "on the 27th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) November 27, 2024 09:38
@renovate renovate bot requested a review from emmercm November 27, 2024 13:36
@renovate renovate bot force-pushed the renovate/eslint branch 2 times, most recently from 26fe118 to 38eb798 Compare November 29, 2024 17:15
@renovate renovate bot force-pushed the renovate/eslint branch 2 times, most recently from a4541bb to ea0c0b8 Compare December 12, 2024 18:25
@renovate renovate bot force-pushed the renovate/eslint branch 2 times, most recently from 64eadb8 to 0a5a654 Compare December 19, 2024 18:22
@renovate renovate bot force-pushed the renovate/eslint branch from 0a5a654 to c697bf0 Compare December 22, 2024 20:10
@renovate renovate bot force-pushed the renovate/eslint branch from c697bf0 to a2545d6 Compare December 26, 2024 18:13
Copy link
Contributor Author

renovate bot commented Dec 30, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot merged commit f239e10 into main Dec 30, 2024
55 checks passed
@renovate renovate bot deleted the renovate/eslint branch December 30, 2024 19:23
Copy link

🧪 Branch testing instructions

This pull request has been merged, its base branch can be tested locally with the following command:

npm exec --yes -- "github:emmercm/igir#main" [commands..] [options]

Comment generated by the Node.js Branch Exec workflow.

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.78%. Comparing base (b206606) to head (54bddf7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #1397    +/-   ##
========================================
  Coverage   92.78%   92.78%            
========================================
  Files         118      118            
  Lines        7599     7599            
  Branches     1852     1739   -113     
========================================
  Hits         7051     7051            
  Misses        547      547            
  Partials        1        1            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant