-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
The rule @typescript-eslint/strict-boolean-expressions breaks code on --fix #1202
Comments
Bug reported to typescript-eslint. In the meantime can you consider removing this option? |
Should this project remove this rule because fixing breaks code? What's the alternative? This is made somewhat worse by us not being able to bump the dependency, yet. |
Until typescript-eslint fix that problem I can't see alternative. Finding the breaking code in a linted file with hundreds modifications it's really hard IMHO |
typescript-eslint fix that problem in v6.4.0 (#7394) by replacing the dangerous fix with suggestion. @mightyiam the dependency can be updated? |
Although this package does not compel you to install v6.4.0, now it does not prevent you from doing so, either. Would you consider this issue closed, or would you suggest we bump the peerDep to v6.4.0 ? |
For better user experience, which ensure that a code fix does not break existing functionality, I think that issue can't be closed until v6.4.0. Anyway thanks for your great work |
I didn’t notice that now the devDep is 6.4.0 while only the peerDep is 6.1.0. |
@fasenderos would you contribute a change that bumps the peerDep to the one with the fix? It would be kind to prevent users from experiencing this, right? |
Sure |
BREAKING CHANGE: minimum @typescript-eslint packages bumped to v6.4.0 closes mightyiam#1202
BREAKING CHANGE: minimum @typescript-eslint packages bumped to v6.4.0 closes mightyiam#1202
BREAKING CHANGE: minimum @typescript-eslint packages bumped to v6.4.0 closes mightyiam#1202
## [39.0.0](v38.1.0...v39.0.0) (2023-08-27) ### ⚠ BREAKING CHANGES * **deps:** minimum @typescript-eslint packages bumped to v6.4.0 closes #1202 ### chore * **deps:** [@typescript-eslint](https://github.com/typescript-eslint) packages bumped to v6.4.0 ([1d1ba51](1d1ba51))
… to v39 (#1903) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-standard-with-typescript](https://togithub.com/standard/eslint-config-standard-with-typescript) | [`37.0.0` -> `39.0.0`](https://renovatebot.com/diffs/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-standard-with-typescript/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-standard-with-typescript/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>standard/eslint-config-standard-with-typescript (eslint-config-standard-with-typescript)</summary> ### [`v39.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3900-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.1.0...v39.0.0) ##### ⚠ BREAKING CHANGES - **deps:** minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 closes [https://github.com/standard/eslint-config-standard-with-typescript/issues/1202](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1202) ##### chore - **deps:** [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 ([1d1ba51](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1d1ba516f6e6eebf689e846eff89ea32bcfeeb62)) ### [`v38.1.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3810-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.0.0...v38.1.0) ##### Features - parserOptions.project=true ([73efcf8](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/73efcf866743a08d144b31965d92aa72e21aa656)), closes [#​1230](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1230) ##### Refactoring - remove now unneeded types definition src/inclusion.d.ts ([f10cd95](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/f10cd955e2df210376ac1b0271c1dff33187b4b0)) ### [`v38.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3800-2023-08-20) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v37.0.0...v38.0.0) ##### ⚠ BREAKING CHANGES - minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.1.0 - there will be some ##### Build system / dependencies - bump package-lock.json on release ([d42bf5b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/d42bf5b069da1cbb1ed1694576ea8e9bfba8022c)) - moduleResolution: nodenext ([1f31e2b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1f31e2b3076548796765978844e442057b2623c1)) - package-lock.json ([b3a6535](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/b3a6535fd4c079a2224fd9854d4cdeca9a2f359b)), closes [#​1193](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1193) - shared commitlint config ([bdd6e2d](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/bdd6e2d2c5de371fd6ef7f29b4fc3682bc9830d2)) - use extracted releaserc ([877b004](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/877b00459ac70ed996c21a26c933f6b17467d408)) ##### Features - [@​typescript-eslint](https://togithub.com/typescript-eslint) 6 ([166e189](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/166e18976b6d02ec49cd1e7e4bffc53a566194bb)) - bump minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) to v6.1.0 ([77202d1](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/77202d1c758c16b71687f136897be65e24d640bd)), closes [#​1222](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1222) [#​1188](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1188) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Europe/Zurich, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/swisspost/design-system). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… to v39 (#259) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-standard-with-typescript](https://togithub.com/standard/eslint-config-standard-with-typescript) | [`^37.0.0` -> `^39.0.0`](https://renovatebot.com/diffs/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-standard-with-typescript/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-standard-with-typescript/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-standard-with-typescript/37.0.0/39.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>standard/eslint-config-standard-with-typescript (eslint-config-standard-with-typescript)</summary> ### [`v39.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3900-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.1.0...v39.0.0) ##### ⚠ BREAKING CHANGES - **deps:** minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 closes [https://github.com/standard/eslint-config-standard-with-typescript/issues/1202](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1202) ##### chore - **deps:** [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 ([1d1ba51](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1d1ba516f6e6eebf689e846eff89ea32bcfeeb62)) ### [`v38.1.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3810-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.0.0...v38.1.0) ##### Features - parserOptions.project=true ([73efcf8](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/73efcf866743a08d144b31965d92aa72e21aa656)), closes [#​1230](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1230) ##### Refactoring - remove now unneeded types definition src/inclusion.d.ts ([f10cd95](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/f10cd955e2df210376ac1b0271c1dff33187b4b0)) ### [`v38.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3800-2023-08-20) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v37.0.0...v38.0.0) ##### ⚠ BREAKING CHANGES - minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.1.0 - there will be some ##### Build system / dependencies - bump package-lock.json on release ([d42bf5b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/d42bf5b069da1cbb1ed1694576ea8e9bfba8022c)) - moduleResolution: nodenext ([1f31e2b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1f31e2b3076548796765978844e442057b2623c1)) - package-lock.json ([b3a6535](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/b3a6535fd4c079a2224fd9854d4cdeca9a2f359b)), closes [#​1193](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1193) - shared commitlint config ([bdd6e2d](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/bdd6e2d2c5de371fd6ef7f29b4fc3682bc9830d2)) - use extracted releaserc ([877b004](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/877b00459ac70ed996c21a26c933f6b17467d408)) ##### Features - [@​typescript-eslint](https://togithub.com/typescript-eslint) 6 ([166e189](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/166e18976b6d02ec49cd1e7e4bffc53a566194bb)) - bump minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) to v6.1.0 ([77202d1](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/77202d1c758c16b71687f136897be65e24d640bd)), closes [#​1222](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1222) [#​1188](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1188) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Mause/github-statuses). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
… to v39 (#98) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-standard-with-typescript](https://togithub.com/standard/eslint-config-standard-with-typescript) | [`^34.0.0` -> `^39.0.0`](https://renovatebot.com/diffs/npm/eslint-config-standard-with-typescript/34.0.1/39.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-standard-with-typescript/39.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-standard-with-typescript/39.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-standard-with-typescript/34.0.1/39.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-standard-with-typescript/34.0.1/39.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>standard/eslint-config-standard-with-typescript (eslint-config-standard-with-typescript)</summary> ### [`v39.1.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3910-2023-09-23) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v39.0.0...v39.1.0) ##### Build system / dependencies - add-to-project workflow ([dd3ceae](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/dd3ceaea89bc52ca4d90b765343a470627017e04)) - automergeMinor eslint-config-standard ([f531394](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/f531394576840344bda4c0c25f8c442999a509d9)) - tsconfig.module = nodenext ([7590972](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/75909722e5756435785689c3d3a440270c1d5f9e)) ##### Features - **docs:** replace npm@<7 with yarn ([4dbc4b7](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/4dbc4b7a84598f6b4fe4d006d75bb2e28b4f8f95)), closes [#​1254](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1254) ### [`v39.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3900-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.1.0...v39.0.0) ##### ⚠ BREAKING CHANGES - **deps:** minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 closes [https://github.com/standard/eslint-config-standard-with-typescript/issues/1202](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1202) ##### chore - **deps:** [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.4.0 ([1d1ba51](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1d1ba516f6e6eebf689e846eff89ea32bcfeeb62)) ### [`v38.1.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3810-2023-08-27) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v38.0.0...v38.1.0) ##### Features - parserOptions.project=true ([73efcf8](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/73efcf866743a08d144b31965d92aa72e21aa656)), closes [#​1230](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1230) ##### Refactoring - remove now unneeded types definition src/inclusion.d.ts ([f10cd95](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/f10cd955e2df210376ac1b0271c1dff33187b4b0)) ### [`v38.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3800-2023-08-20) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v37.0.0...v38.0.0) ##### ⚠ BREAKING CHANGES - minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) packages bumped to v6.1.0 - there will be some ##### Build system / dependencies - bump package-lock.json on release ([d42bf5b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/d42bf5b069da1cbb1ed1694576ea8e9bfba8022c)) - moduleResolution: nodenext ([1f31e2b](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/1f31e2b3076548796765978844e442057b2623c1)) - package-lock.json ([b3a6535](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/b3a6535fd4c079a2224fd9854d4cdeca9a2f359b)), closes [#​1193](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1193) - shared commitlint config ([bdd6e2d](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/bdd6e2d2c5de371fd6ef7f29b4fc3682bc9830d2)) - use extracted releaserc ([877b004](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/877b00459ac70ed996c21a26c933f6b17467d408)) ##### Features - [@​typescript-eslint](https://togithub.com/typescript-eslint) 6 ([166e189](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/166e18976b6d02ec49cd1e7e4bffc53a566194bb)) - bump minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) to v6.1.0 ([77202d1](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/77202d1c758c16b71687f136897be65e24d640bd)), closes [#​1222](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1222) [#​1188](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1188) ### [`v37.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3700-2023-07-22) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v36.1.1...v37.0.0) ##### ⚠ BREAKING CHANGES - add rule [@​typescript-eslint/block-spacing](https://togithub.com/typescript-eslint/block-spacing) and bump minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) to 5.52.0 Co-authored-by: Rostislav Simonik <[email protected]> ##### Features - [@​typescript-eslint/block-spacing](https://togithub.com/typescript-eslint/block-spacing) ([0a0585f](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/0a0585f3accd01ca9384bd99d2cc4bc8f016b7e5)) ### [`v36.1.1`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3611-2023-07-22) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v36.1.0...v36.1.1) ##### Build system / dependencies - automerge @​types/ bumps ([09b9445](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/09b9445cfda3f05b7616a9fc06451b8843c408e1)) ##### Documentation - remove obsolete release doc ([677d0a5](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/677d0a5117e1a36439c2586e9e2d2e73985368f8)), closes [#​1186](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1186) ### [`v36.1.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3610-2023-07-15) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v36.0.1...v36.1.0) ##### Features - bump eslint-config-standard to v17.1.0 ([aacad54](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/aacad549dc1ec364c6813bc0fa7faf2d9b23386c)) ##### Build system / dependencies - rm redundant peerDep range test ([4e7ac4f](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/4e7ac4f7a3083f44f5678fbe0dcc27270956d049)) ### [`v36.0.1`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3601-2023-07-14) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v36.0.0...v36.0.1) ##### Bug fixes - retrieval of active node versions in ci ([5ccd9a6](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/5ccd9a66eb16363129c7f1f7ef70914aacef6cfa)) ### [`v36.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3600-2023-06-30) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v35.0.0...v36.0.0) ##### ⚠ BREAKING CHANGES - the rules are provided at the top level, instead of under an `overrides` property. Providing the rules under the `overrides` property was never a good idea. It prevents specifying which files the rules apply to (e.g. `[*.js, *.ts]`). I apologize. To migrate, make sure that your `extends` property is under an [`overrides` item][overrides]. An example is in the readme. To help verify your configuration, you could obtain a list of files that will be linted, this way: `DEBUG=eslint:cli-engine npx eslint <path>`. [overrides]: https://eslint.org/docs/latest/use/configure/configuration-files#how-do-overrides-work ##### Bug fixes - rules are at top level (not under overrides) ([25401c9](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/25401c96a8cdb218cf7c26330d3968bf7acf544c)), closes [#​1149](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1149) [#​1088](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1088) ### [`v35.0.0`](https://togithub.com/standard/eslint-config-standard-with-typescript/blob/HEAD/CHANGELOG.md#3500-2023-06-02) [Compare Source](https://togithub.com/standard/eslint-config-standard-with-typescript/compare/v34.0.1...v35.0.0) ##### ⚠ BREAKING CHANGES - minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) is corrected to be 5.50.0 Co-authored-by: Rostislav Simonik <[email protected]> ##### Build system / dependencies - **renovate:** do not bump [@​typescript-eslint](https://togithub.com/typescript-eslint)\_bottom/\* ([73c439e](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/73c439e0ff62b6dd6e155927c2186ba90aa4f65b)), closes [#​1083](https://togithub.com/standard/eslint-config-standard-with-typescript/issues/1083) ##### Testing - assign to config.overrides.parser in compatibility config test ([2e62830](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/2e628302fdf485c75345421aa78daec0eaf0e3ca)) - bottom peerDep compatibility test actually works ([73da75f](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/73da75f7e6387d1eb5be24b3cf931fc8eb28cb14)) ##### Bug fixes - bump minimum [@​typescript-eslint](https://togithub.com/typescript-eslint) to 5.50.0 ([0c83fdb](https://togithub.com/standard/eslint-config-standard-with-typescript/commit/0c83fdb36dddc7fdd8bf908c41436eac28f9271e)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/xkrishguptaa/trevenant). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
What version of this package are you using?
ts-standard
: 12.0.2which under the hood use
eslint-config-standard-with-typescript
: ^23.0.0What operating system, Node.js, and npm version?
Node: 18.16.1
npm: 9.5.1
What happened?
code before fix
code after
ts-standard --fix
After digging a lot I found the issue comes from the
allowNullableObject
of the@typescript-eslint/strict-boolean-expressions
rule hereWhat did you expect to happen?
Code gets changed with the
??
operator.Are you willing to submit a pull request to fix this bug?
yes, if it means remove the
allowNullableObject
option from the ruleSimilar issue 226
The text was updated successfully, but these errors were encountered: