Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
5.50.0
5.52.0
8.33.0
8.34.0
2.8.3
2.8.4
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.
:tada: This PR is included in version 6.11.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR contains the following updates:
5.50.0
->5.52.0
5.50.0
->5.52.0
8.33.0
->8.34.0
2.8.3
->2.8.4
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v5.52.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5520-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5510v5520-2023-02-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0) ##### Bug Fixes - **eslint-plugin:** \[no-import-type-side-effects] correctly ignore zero-specifier imports ([#6444](https://togithub.com/typescript-eslint/typescript-eslint/issues/6444)) ([d5a6688](https://togithub.com/typescript-eslint/typescript-eslint/commit/d5a6688a22ebaa2992e549f44c224fc8d0fc5cc7)) - **eslint-plugin:** \[no-unnecessary-condition] account for optional chaining on potentially void values ([#6432](https://togithub.com/typescript-eslint/typescript-eslint/issues/6432)) ([e1d9c67](https://togithub.com/typescript-eslint/typescript-eslint/commit/e1d9c67981be53e091a4107f326b9bf097650c1f)), closes [#5255](https://togithub.com/typescript-eslint/typescript-eslint/issues/5255) - **eslint-plugin:** \[no-unnecessary-condition] fix false positive when checking indexed access types ([#6452](https://togithub.com/typescript-eslint/typescript-eslint/issues/6452)) ([d569924](https://togithub.com/typescript-eslint/typescript-eslint/commit/d569924cf3c223c185f6ba913390cd865cd33197)) - **eslint-plugin:** fix key-spacing when type starts on next line ([#6412](https://togithub.com/typescript-eslint/typescript-eslint/issues/6412)) ([3eb2eed](https://togithub.com/typescript-eslint/typescript-eslint/commit/3eb2eed6167e2ffad6c44c0fcbd86be4b6202aeb)) ##### Features - **eslint-plugin:** \[block-spacing] extending base rule for TS related blocks ([#6195](https://togithub.com/typescript-eslint/typescript-eslint/issues/6195)) ([b2db3f5](https://togithub.com/typescript-eslint/typescript-eslint/commit/b2db3f57d3b551e1159380c3d23edee14f133ac1)) - **eslint-plugin:** \[explicit-function-return-type] add allowFunctionsWithoutTypeParameters option ([#6105](https://togithub.com/typescript-eslint/typescript-eslint/issues/6105)) ([113640e](https://togithub.com/typescript-eslint/typescript-eslint/commit/113640e9742acb3a193078e9704648517aebf1d8)) - **eslint-plugin:** \[explicit-function-return-type] add allowIIFEs option ([#6237](https://togithub.com/typescript-eslint/typescript-eslint/issues/6237)) ([a1b3f7b](https://togithub.com/typescript-eslint/typescript-eslint/commit/a1b3f7b4d97154ac4b0d7934d12f1d5970cffe15)) ### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0) ##### Bug Fixes - **eslint-plugin:** \[sort-type-constituents] fixed behavior change ([#6384](https://togithub.com/typescript-eslint/typescript-eslint/issues/6384)) ([5bf7f7f](https://togithub.com/typescript-eslint/typescript-eslint/commit/5bf7f7fe48aee61a676dfbe829c2a5e9e44cd552)), closes [#6339](https://togithub.com/typescript-eslint/typescript-eslint/issues/6339) - **eslint-plugin:** do not use .at(), Node 14 does not support it ([#6402](https://togithub.com/typescript-eslint/typescript-eslint/issues/6402)) ([077ed1b](https://togithub.com/typescript-eslint/typescript-eslint/commit/077ed1b5be844df35b7fba554ddae579b3144787)) ##### Features - **eslint-plugin:** \[naming-convention] improve performance by removing unnecessary selectors ([#6376](https://togithub.com/typescript-eslint/typescript-eslint/issues/6376)) ([3647a1c](https://togithub.com/typescript-eslint/typescript-eslint/commit/3647a1c1bbcfe6551647632fc2d978fa90881de1)) - **eslint-plugin:** \[no-floating-promises] error on logical expression ([#6356](https://togithub.com/typescript-eslint/typescript-eslint/issues/6356)) ([f330e06](https://togithub.com/typescript-eslint/typescript-eslint/commit/f330e0651548d55163ddc3233c90fd3cbe37c9c0)) - **eslint-plugin:** \[no-import-type-side-effects] add rule to warn against runtime side effects with `verbatimModuleSyntax` ([#6394](https://togithub.com/typescript-eslint/typescript-eslint/issues/6394)) ([b14d3be](https://togithub.com/typescript-eslint/typescript-eslint/commit/b14d3be0f305d71e0adfc9381e9de993898b2b43)) - **eslint-plugin:** \[strict-boolean-expressions] add allow nullable enum to strict boolean expressions ([#6096](https://togithub.com/typescript-eslint/typescript-eslint/issues/6096)) ([d4747cd](https://togithub.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7))typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v5.52.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5520-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5510v5520-2023-02-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)eslint/eslint
### [`v8.34.0`](https://togithub.com/eslint/eslint/releases/tag/v8.34.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.33.0...v8.34.0) #### Features - [`9b2fcf7`](https://togithub.com/eslint/eslint/commit/9b2fcf7e928fc92ac6d43617bdee1bda250b7491) feat: `array-callback-return` supports `Array.prototype.toSorted` ([#16845](https://togithub.com/eslint/eslint/issues/16845)) (SUZUKI Sosuke) #### Bug Fixes - [`923f61d`](https://togithub.com/eslint/eslint/commit/923f61d8fc82d83b912c6ba95abb5a509c4d7b52) fix: false positive with assignment in `no-extra-parens` ([#16872](https://togithub.com/eslint/eslint/issues/16872)) (Francesco Trotta) #### Documentation - [`f0a9883`](https://togithub.com/eslint/eslint/commit/f0a988384ea1a262150e70d83abd8a5e50c46fa7) docs: split rules documentation ([#16797](https://togithub.com/eslint/eslint/issues/16797)) (Ben Perlmutter) - [`67aa37b`](https://togithub.com/eslint/eslint/commit/67aa37b583f059226b9c959672400f04ed6a56b5) docs: fix typo in command-line-interface.md ([#16871](https://togithub.com/eslint/eslint/issues/16871)) (Kevin Rouchut) - [`337f7ed`](https://togithub.com/eslint/eslint/commit/337f7ed96131d873be7ae6b010739476d0ad15e9) docs: fix width of language input ([#16849](https://togithub.com/eslint/eslint/issues/16849)) (Tanuj Kanti) - [`71349a1`](https://togithub.com/eslint/eslint/commit/71349a1f709baa361bd656a7ce4a7d35d857a9a8) docs: Configure a Parser page ([#16803](https://togithub.com/eslint/eslint/issues/16803)) (Ben Perlmutter) - [`de7e925`](https://togithub.com/eslint/eslint/commit/de7e925d03764f3681269b30bb60b92ee463c10f) docs: remove extra line numbers in example ([#16848](https://togithub.com/eslint/eslint/issues/16848)) (jonz94) - [`ad38d77`](https://togithub.com/eslint/eslint/commit/ad38d77102d6fe30cfa92c831174f178bb35c88b) docs: Update README (GitHub Actions Bot) #### Chores - [`9dbe06d`](https://togithub.com/eslint/eslint/commit/9dbe06d0ad875e6d5964497e2975e8d789e763d0) chore: add `type` property to array-element-newline schema ([#16877](https://togithub.com/eslint/eslint/issues/16877)) (MHO) - [`a061527`](https://togithub.com/eslint/eslint/commit/a061527a0332f0edf559acfc2902a327cae098d9) chore: Remove unused functions ([#16868](https://togithub.com/eslint/eslint/issues/16868)) (Nicholas C. Zakas)prettier/prettier
### [`v2.8.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#284) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) [diff](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) ##### Fix leading comments in mapped types with `readonly` ([#13427](https://togithub.com/prettier/prettier/pull/13427) by [@thorn0](https://togithub.com/thorn0), [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Type = { // comment readonly [key in Foo]; }; // Prettier 2.8.3 type Type = { readonly // comment [key in Foo]; }; // Prettier 2.8.4 type Type = { // comment readonly [key in Foo]; }; ``` ##### Group params in opening block statements ([#14067](https://togithub.com/prettier/prettier/pull/14067) by [@jamescdavis](https://togithub.com/jamescdavis)) This is a follow-up to [#13930](https://togithub.com/prettier/prettier/issues/13930) to establish wrapping consistency between opening block statements and else blocks by grouping params in opening blocks. This causes params to break to a new line together and not be split across lines unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the same as opening blocks. ```hbs {{! Input }} {{#block param param param param param param param param param param as |blockParam|}} Hello {{else block param param param param param param param param param param as |blockParam|}} There {{/block}} {{! Prettier 2.8.3 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param}} There {{/block}} {{! Prettier 2.8.4 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param as |blockParam| }} There {{/block}} ``` ##### Ignore files in `.sl/` ([#14206](https://togithub.com/prettier/prettier/pull/14206) by [@bolinfest](https://togithub.com/bolinfest)) In [Sapling SCM](https://sapling-scm.com/), `.sl/` is the folder where it stores its state, analogous to `.git/` in Git. It should be ignored in Prettier like the other SCM folders. ##### Recognize `@satisfies` in Closure-style type casts ([#14262](https://togithub.com/prettier/prettier/pull/14262) by [@fisker](https://togithub.com/fisker)) ```jsx // Input const a = /** @satisfies {RecordConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.