emmercm / igir

🕹 A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS.
https://igir.io/
GNU General Public License v3.0
305 stars 15 forks source link

Chore: update ESLint #1183

Closed renovate[bot] closed 3 days ago

renovate[bot] commented 4 days ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) 7.10.0 -> 7.13.1 age adoption passing confidence
@typescript-eslint/parser (source) 7.10.0 -> 7.13.1 age adoption passing confidence
eslint-plugin-jest 28.5.0 -> 28.6.0 age adoption passing confidence
eslint-plugin-jsdoc 48.2.6 -> 48.3.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v7.13.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7131-2024-06-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.13.0...v7.13.1) ##### 🩹 Fixes - **eslint-plugin:** \[prefer-readonly] refine report locations - **eslint-plugin:** \[return-await] support explicit resource management - **eslint-plugin:** \[no-unsafe-member-access] differentiate a types-error any from a true any ##### ❤️ Thank You - Kirk Waiblinger - Yukihiro Hasegawa You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.13.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7130-2024-06-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.12.0...v7.13.0) ##### 🚀 Features - **typescript-estree:** require `import = require()` argument to be a string literal - **typescript-estree:** forbid `.body`, `.async`, `.generator` on `declare function` - **eslint-plugin:** \[no-dynamic-delete] allow all string literals as index ##### 🩹 Fixes - **ast-spec:** function-call-like callee should be Expression not LeftHandSideExpression - **scope-manager:** handle index signature in class - **eslint-plugin:** \[init-declarations] refine report locations - **eslint-plugin:** \[no-base-to-string] make error message more nuanced - **eslint-plugin:** \[no-unsafe-assignment] be more specific about error types - **eslint-plugin:** \[no-magic-numbers] fix implementation of the `ignore` option ##### ❤️ Thank You - Fotis Papadogeorgopoulos - Joshua Chen - Kirk Waiblinger - Tobiloba Adedeji - Vinccool96 - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.12.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7120-2024-06-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.11.0...v7.12.0) ##### 🚀 Features - **eslint-plugin:** \[no-useless-template-literals] rename to `no-useless-template-expression` (deprecate `no-useless-template-literals`) - **rule-tester:** check for parsing errors in suggestion fixes - **rule-tester:** port `checkDuplicateTestCases` from ESLint - **eslint-plugin:** \[no-floating-promises] add option 'allowForKnownSafePromises' ##### 🩹 Fixes - no-useless-template-expression -> no-unnecessary-template-expression - **eslint-plugin:** \[no-unnecessary-type-assertion] combine template literal check with `const` variable check - **eslint-plugin:** \[dot-notation] fix false positive when accessing private/protected property with optional chaining - **eslint-plugin:** \[explicit-member-accessibility] refine report locations - **eslint-plugin:** \[no-unnecessary-type-assertion] declares are always defined, so always check `declare`s - **eslint-plugin:** \[prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions - **eslint-plugin:** \[return-await] clean up in-try-catch detection and make autofixes safe - **eslint-plugin:** \[member-ordering] also TSMethodSignature can be get/set ##### ❤️ Thank You - Abraham Guo - Han Yeong-woo - Joshua Chen - Kim Sang Du - Kirk Waiblinger - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) ##### 🚀 Features - **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment ##### 🩹 Fixes - **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions ##### ❤️ Thank You - Abraham Guo - auvred - Dom Armstrong - Kirk Waiblinger You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v7.13.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7131-2024-06-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.13.0...v7.13.1) 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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.13.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7130-2024-06-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.12.0...v7.13.0) ##### 🚀 Features - **parser, typescript-estree:** export withoutProjectParserOptions utility ##### ❤️ Thank You - Fotis Papadogeorgopoulos - Joshua Chen - Kirk Waiblinger - Tobiloba Adedeji - Vinccool96 - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.12.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7120-2024-06-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.11.0...v7.12.0) ##### 🩹 Fixes - **types:** correct typing ParserOptions ##### ❤️ Thank You - Abraham Guo - Han Yeong-woo - Joshua Chen - Kim Sang Du - Kirk Waiblinger - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) 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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
jest-community/eslint-plugin-jest (eslint-plugin-jest) ### [`v28.6.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2860-2024-06-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v28.5.0...v28.6.0) ##### Features - **prefer-jest-mocked:** add new rule ([#​1599](https://togithub.com/jest-community/eslint-plugin-jest/issues/1599)) ([4b6a4f2](https://togithub.com/jest-community/eslint-plugin-jest/commit/4b6a4f29c51ccc2dbb79a2f24d4a5cecd8195a8b)) - **valid-expect:** supporting automatically fixing adding async in some cases ([#​1579](https://togithub.com/jest-community/eslint-plugin-jest/issues/1579)) ([5b9b47e](https://togithub.com/jest-community/eslint-plugin-jest/commit/5b9b47e3822e7895f8d74d73b0e07e3eff406523))
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc) ### [`v48.3.0`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.3.0) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.15...v48.3.0) ##### Bug Fixes - **`no-undefined-types`:** treat variables imported by `[@import](https://togithub.com/import)` tags as defined; fixes [#​1244](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1244) ([54ac4fd](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/54ac4fd4c5cf30c0f4c239e1066fb693ab7349fc)) ##### Features - **`check-values`:** checks for valid `[@import](https://togithub.com/import)` syntax ([ad31b14](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/ad31b14c78a7fdbe6a1997c5302e7d5ddde0eb65)) ### [`v48.2.15`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.15) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.14...v48.2.15) ##### Bug Fixes - Revert "fix(`no-undefined-types`): treat variables imported by `[@import](https://togithub.com/import)` tags as defined"; fixes [#​1246](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1246) ([ce066df](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/ce066df38edc9175db200e8da7ed7096e2879942)) ### [`v48.2.14`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.14) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.13...v48.2.14) ##### Bug Fixes - **`no-undefined-types`:** treat variables imported by `[@import](https://togithub.com/import)` tags as defined; fixes [#​1244](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1244) ([34ba2e0](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/34ba2e01d8de1c8a8558cc3f6f93c23d6bc49250)) ### [`v48.2.13`](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.12...0bea15458c7f8acc71fdc6e965a67adb890a58d0) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.12...v48.2.13) ### [`v48.2.12`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.12) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.11...v48.2.12) ##### Bug Fixes - namespace flat config `name`'s ([8603579](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/8603579b1f5f3aa3c8357949ed6b2b2d5265149a)) ### [`v48.2.11`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.11) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.10...v48.2.11) ##### Bug Fixes - avoid inserting `name` for eslintrc configs; fixes [#​1239](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1239) ([c2d5a35](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/c2d5a353e26ed33efd02cac0d9189b4246424bbf)) ### [`v48.2.10`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.10) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.9...v48.2.10) ##### Bug Fixes - add names to flat configs ([5429982](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/5429982d7a4c632ca189d619aaed4ff595934e14)) ### [`v48.2.9`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.9) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.8...v48.2.9) ##### Bug Fixes - **`require-description-complete-sentence`:** regression with heading exempting; fixes [#​1220](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1220) ([fbc9fca](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/fbc9fca5cf2afbe8cc208eaf8de6465812a7bdd5)) ### [`v48.2.8`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.8) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.7...v48.2.8) ##### Bug Fixes - **`require-description-complete-sentence`:** avoid triggering punctuation warning after Markdown headings; fixes [#​1220](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1220) ([e9e4440](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/e9e444034f60b7a2554b99b81cada6271f111609)) ### [`v48.2.7`](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.6...fb3e0e6cd2535af323286b56e37bccf519d56920) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.6...v48.2.7)

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.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 4 days ago

:test_tube: Branch testing instructions

This pull request can be tested locally with the following command:

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

Comment generated by the Pull Request Commenter workflow.

renovate[bot] commented 4 days ago

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.

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.06%. Comparing base (715122c) to head (fbfdf03).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1183 +/- ## ======================================= Coverage 93.06% 93.06% ======================================= Files 103 103 Lines 6433 6433 Branches 1523 1516 -7 ======================================= Hits 5987 5987 + Misses 445 423 -22 - Partials 1 23 +22 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.