341.md (19871B)
1 # PR #341 Bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.52.0 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-02-14T09:10:13Z 6 - **Branch:** dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.52.0 → main 7 - **Closed:** 2023-02-21T09:09:52Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [341.diff](./341.diff) 12 13 --- 14 15 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.48.2 to 5.52.0. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> 19 <blockquote> 20 <h2>v5.52.0</h2> 21 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0">5.52.0</a> (2023-02-13)</h1> 22 <h3>Bug Fixes</h3> 23 <ul> 24 <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] correctly ignore zero-specifier imports (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6444">#6444</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d5a6688a22ebaa2992e549f44c224fc8d0fc5cc7">d5a6688</a>)</li> 25 <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] account for optional chaining on potentially void values (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6432">#6432</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/e1d9c67981be53e091a4107f326b9bf097650c1f">e1d9c67</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5255">#5255</a></li> 26 <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] fix false positive when checking indexed access types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6452">#6452</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d569924cf3c223c185f6ba913390cd865cd33197">d569924</a>)</li> 27 <li><strong>eslint-plugin:</strong> fix key-spacing when type starts on next line (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6412">#6412</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/3eb2eed6167e2ffad6c44c0fcbd86be4b6202aeb">3eb2eed</a>)</li> 28 </ul> 29 <h3>Features</h3> 30 <ul> 31 <li><strong>eslint-plugin:</strong> [block-spacing] extending base rule for TS related blocks (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6195">#6195</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b2db3f57d3b551e1159380c3d23edee14f133ac1">b2db3f5</a>)</li> 32 <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6105">#6105</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/113640e9742acb3a193078e9704648517aebf1d8">113640e</a>)</li> 33 <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowIIFEs option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6237">#6237</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/a1b3f7b4d97154ac4b0d7934d12f1d5970cffe15">a1b3f7b</a>)</li> 34 <li><strong>typescript-estree:</strong> add <code>.kind</code> to <code>TSModuleDeclaration</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6443">#6443</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/2f948df35b73d916e7fe42b21343568b1617e3f1">2f948df</a>)</li> 35 <li><strong>typescript-estree:</strong> allow specifying project: true (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6084">#6084</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/dcd05f0b3ab62779571294d08a4542d66ebb2294">dcd05f0</a>)</li> 36 </ul> 37 <h2>v5.51.0</h2> 38 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0">5.51.0</a> (2023-02-06)</h1> 39 <h3>Bug Fixes</h3> 40 <ul> 41 <li><strong>eslint-plugin:</strong> [sort-type-constituents] fixed behavior change (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6384">#6384</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/5bf7f7fe48aee61a676dfbe829c2a5e9e44cd552">5bf7f7f</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6339">#6339</a></li> 42 <li><strong>eslint-plugin:</strong> do not use .at(), Node 14 does not support it (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6402">#6402</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/077ed1b5be844df35b7fba554ddae579b3144787">077ed1b</a>)</li> 43 </ul> 44 <h3>Features</h3> 45 <ul> 46 <li><strong>eslint-plugin:</strong> [naming-convention] improve performance by removing unnecessary selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6376">#6376</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/3647a1c1bbcfe6551647632fc2d978fa90881de1">3647a1c</a>)</li> 47 <li><strong>eslint-plugin:</strong> [no-floating-promises] error on logical expression (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6356">#6356</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f330e0651548d55163ddc3233c90fd3cbe37c9c0">f330e06</a>)</li> 48 <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] add rule to warn against runtime side effects with <code>verbatimModuleSyntax</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6394">#6394</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b14d3be0f305d71e0adfc9381e9de993898b2b43">b14d3be</a>)</li> 49 <li><strong>eslint-plugin:</strong> [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6096">#6096</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7">d4747cd</a>)</li> 50 <li><strong>typescript-estree:</strong> cache project glob resolution (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6367">#6367</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/afae8374df64101627808ccfeb5b715c865e910f">afae837</a>)</li> 51 </ul> 52 <h2>v5.50.0</h2> 53 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.49.0...v5.50.0">5.50.0</a> (2023-01-31)</h1> 54 <h3>Bug Fixes</h3> 55 <ul> 56 <li><strong>ast-spec:</strong> a JSXEmptyExpression is not a possible JSXExpression (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6321">#6321</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/4b27777ed26cc83d6efc52a89b2d3fc6c01bc0d7">4b27777</a>)</li> 57 <li><strong>eslint-plugin:</strong> [ban-ts-comment] counts graphemes instead of <code>String.prototype.length</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5704">#5704</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/09d57cec8901880c6b24ea80dfa7d9fcdc463930">09d57ce</a>)</li> 58 <li><strong>eslint-plugin:</strong> [prefer-optional-chain] fix <code>ThisExpression</code> and <code>PrivateIdentifier</code> errors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6028">#6028</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/85e783c1fabe96d390729a5796d6d346e401692b">85e783c</a>)</li> 59 <li><strong>eslint-plugin:</strong> [prefer-optional-chain] fixer produces wrong logic (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5919">#5919</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b0f6c8ec0b372696ef26ca3a2b4f82dafd9dc417">b0f6c8e</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1438">#1438</a></li> 60 </ul> 61 <!-- raw HTML omitted --> 62 </blockquote> 63 <p>... (truncated)</p> 64 </details> 65 <details> 66 <summary>Changelog</summary> 67 <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> 68 <blockquote> 69 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0">5.52.0</a> (2023-02-13)</h1> 70 <h3>Bug Fixes</h3> 71 <ul> 72 <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] correctly ignore zero-specifier imports (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6444">#6444</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d5a6688a22ebaa2992e549f44c224fc8d0fc5cc7">d5a6688</a>)</li> 73 <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] account for optional chaining on potentially void values (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6432">#6432</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/e1d9c67981be53e091a4107f326b9bf097650c1f">e1d9c67</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5255">#5255</a></li> 74 <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] fix false positive when checking indexed access types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6452">#6452</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d569924cf3c223c185f6ba913390cd865cd33197">d569924</a>)</li> 75 <li><strong>eslint-plugin:</strong> fix key-spacing when type starts on next line (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6412">#6412</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/3eb2eed6167e2ffad6c44c0fcbd86be4b6202aeb">3eb2eed</a>)</li> 76 </ul> 77 <h3>Features</h3> 78 <ul> 79 <li><strong>eslint-plugin:</strong> [block-spacing] extending base rule for TS related blocks (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6195">#6195</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b2db3f57d3b551e1159380c3d23edee14f133ac1">b2db3f5</a>)</li> 80 <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6105">#6105</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/113640e9742acb3a193078e9704648517aebf1d8">113640e</a>)</li> 81 <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowIIFEs option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6237">#6237</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/a1b3f7b4d97154ac4b0d7934d12f1d5970cffe15">a1b3f7b</a>)</li> 82 </ul> 83 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0">5.51.0</a> (2023-02-06)</h1> 84 <h3>Bug Fixes</h3> 85 <ul> 86 <li><strong>eslint-plugin:</strong> [sort-type-constituents] fixed behavior change (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6384">#6384</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/5bf7f7fe48aee61a676dfbe829c2a5e9e44cd552">5bf7f7f</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6339">#6339</a></li> 87 <li><strong>eslint-plugin:</strong> do not use .at(), Node 14 does not support it (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6402">#6402</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/077ed1b5be844df35b7fba554ddae579b3144787">077ed1b</a>)</li> 88 </ul> 89 <h3>Features</h3> 90 <ul> 91 <li><strong>eslint-plugin:</strong> [naming-convention] improve performance by removing unnecessary selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6376">#6376</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/3647a1c1bbcfe6551647632fc2d978fa90881de1">3647a1c</a>)</li> 92 <li><strong>eslint-plugin:</strong> [no-floating-promises] error on logical expression (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6356">#6356</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f330e0651548d55163ddc3233c90fd3cbe37c9c0">f330e06</a>)</li> 93 <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] add rule to warn against runtime side effects with <code>verbatimModuleSyntax</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6394">#6394</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b14d3be0f305d71e0adfc9381e9de993898b2b43">b14d3be</a>)</li> 94 <li><strong>eslint-plugin:</strong> [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6096">#6096</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7">d4747cd</a>)</li> 95 </ul> 96 <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.49.0...v5.50.0">5.50.0</a> (2023-01-31)</h1> 97 <h3>Bug Fixes</h3> 98 <ul> 99 <li><strong>eslint-plugin:</strong> [ban-ts-comment] counts graphemes instead of <code>String.prototype.length</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5704">#5704</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/09d57cec8901880c6b24ea80dfa7d9fcdc463930">09d57ce</a>)</li> 100 <li><strong>eslint-plugin:</strong> [prefer-optional-chain] fix <code>ThisExpression</code> and <code>PrivateIdentifier</code> errors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6028">#6028</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/85e783c1fabe96d390729a5796d6d346e401692b">85e783c</a>)</li> 101 <li><strong>eslint-plugin:</strong> [prefer-optional-chain] fixer produces wrong logic (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5919">#5919</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b0f6c8ec0b372696ef26ca3a2b4f82dafd9dc417">b0f6c8e</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1438">#1438</a></li> 102 </ul> 103 <!-- raw HTML omitted --> 104 </blockquote> 105 <p>... (truncated)</p> 106 </details> 107 <details> 108 <summary>Commits</summary> 109 <ul> 110 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c46c793a34f82914a54b624adb57dfd4ac493633"><code>c46c793</code></a> chore: publish v5.52.0</li> 111 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/b2db3f57d3b551e1159380c3d23edee14f133ac1"><code>b2db3f5</code></a> feat(eslint-plugin): [block-spacing] extending base rule for TS related block...</li> 112 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/d569924cf3c223c185f6ba913390cd865cd33197"><code>d569924</code></a> fix(eslint-plugin): [no-unnecessary-condition] fix false positive when checki...</li> 113 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/a1b3f7b4d97154ac4b0d7934d12f1d5970cffe15"><code>a1b3f7b</code></a> feat(eslint-plugin): [explicit-function-return-type] add allowIIFEs option (#...</li> 114 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/e1d9c67981be53e091a4107f326b9bf097650c1f"><code>e1d9c67</code></a> fix(eslint-plugin): [no-unnecessary-condition] account for optional chaining ...</li> 115 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/3eb2eed6167e2ffad6c44c0fcbd86be4b6202aeb"><code>3eb2eed</code></a> fix(eslint-plugin): fix key-spacing when type starts on next line (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6412">#6412</a>)</li> 116 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/113640e9742acb3a193078e9704648517aebf1d8"><code>113640e</code></a> feat(eslint-plugin): [explicit-function-return-type] add allowFunctionsWithou...</li> 117 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/d5a6688a22ebaa2992e549f44c224fc8d0fc5cc7"><code>d5a6688</code></a> fix(eslint-plugin): [no-import-type-side-effects] correctly ignore zero-speci...</li> 118 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/a9cb860c37590b01222879f07a4c63e6ce95a37d"><code>a9cb860</code></a> chore: publish v5.51.0</li> 119 <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7"><code>d4747cd</code></a> feat(eslint-plugin): [strict-boolean-expressions] add allow nullable enum to ...</li> 120 <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.52.0/packages/eslint-plugin">compare view</a></li> 121 </ul> 122 </details> 123 <br /> 124 125 126 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 127 128 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. 129 130 [//]: # (dependabot-automerge-start) 131 [//]: # (dependabot-automerge-end) 132 133 --- 134 135 <details> 136 <summary>Dependabot commands and options</summary> 137 <br /> 138 139 You can trigger Dependabot actions by commenting on this PR: 140 - `@dependabot rebase` will rebase this PR 141 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 142 - `@dependabot merge` will merge this PR after your CI passes on it 143 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 144 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 145 - `@dependabot reopen` will reopen this PR if it is closed 146 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 147 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 148 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 149 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 150 151 152 </details> 153 154 <!-- Replace --> 155 ---- 156 ⌛ Deploy Preview - Build in Progress 157 <!-- Replace --> 158 159 160 161 ## Comments 162 163 ### @dependabot[bot] — 2023-02-21T09:09:51Z 164 165 Superseded by #352. 166