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

Bump the typescript-eslint group across 1 directory with 2 updates #3685

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 8, 2024

Bumps the typescript-eslint group with 2 updates in the /extensions/ql-vscode directory: @typescript-eslint/eslint-plugin and @typescript-eslint/parser.

Updates @typescript-eslint/eslint-plugin from 7.5.0 to 8.0.1

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v8.0.1

8.0.1 (2024-08-05)

🩹 Fixes

  • eslint-plugin: [no-unused-vars] ignore imports used only as types (#9694)

❤️ Thank You

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

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)

... (truncated)

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

8.0.1 (2024-08-05)

🩹 Fixes

  • eslint-plugin: [no-unused-vars] ignore imports used only as types

❤️ Thank You

  • Jake Bailey

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

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST

  • typescript-estree: split TSMappedType typeParameter into constraint and key

  • eslint-plugin: remove formatting/layout rules

  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true

  • eslint-plugin: deprecate no-loss-of-precision extension rule

  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9

  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference

  • utils: allow specifying additional rule meta.docs in RuleCreator

  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces

  • rule-tester: support multipass fixes

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

  • eslint-plugin: remove deprecated no-throw-literal rule

  • eslint-plugin: apply initial config changes for v8

  • eslint-plugin: remove no-useless-template-literals

  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option

  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types

... (truncated)

Commits
  • e05c2e5 chore(release): publish 8.0.1
  • fbcfaba chore: enable unicorn/no-useless-spread (#9687)
  • 6a9674d fix(eslint-plugin): [no-unused-vars] ignore imports used only as types (#9694)
  • 1db993a chore(release): publish 8.0.0
  • ce09260 docs(eslint-plugin): [no-unnecessary-type-parameters] add admonition about ru...
  • b8274d3 fix(rule-tester): provide Linter a cwd in its constructor (#9678)
  • 1b0468e Merge branch 'main'
  • 838dd0c chore: use parserOptions.projectService internally (#9659)
  • 35cf3d2 chore(release): publish 7.18.0
  • 46a5709 docs: link no-duplicate-type-constituents and no-redundant-type-constituents ...
  • Additional commits viewable in compare view

Updates @typescript-eslint/parser from 7.5.0 to 8.0.1

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.0.1

8.0.1 (2024-08-05)

🩹 Fixes

  • eslint-plugin: [no-unused-vars] ignore imports used only as types (#9694)

❤️ Thank You

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

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.0.1 (2024-08-05)

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.

8.0.0 (2024-07-31)

🚀 Features

  • parser: always enable comment, loc, range, tokens

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

❤️ Thank You

  • Abraham Guo
  • Alfred Ringstad
  • auvred
  • Brad Zacher
  • Christopher Aubut
  • Collin Bachman
  • James Henry
  • Josh Goldberg
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit
  • Victor Lin
  • Yukihiro Hasegawa

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

7.18.0 (2024-07-29)

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.

7.17.0 (2024-07-22)

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.

7.16.1 (2024-07-15)

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

... (truncated)

Commits

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.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the typescript-eslint group with 2 updates in the /extensions/ql-vscode directory: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@typescript-eslint/eslint-plugin` from 7.5.0 to 8.0.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 7.5.0 to 8.0.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript-eslint
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript-eslint
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 8, 2024 13:44
@dependabot dependabot bot added the Update dependencies Dependabot update PRs label Aug 8, 2024
@robertbrignull robertbrignull requested a review from a team as a code owner August 8, 2024 16:20
@robertbrignull
Copy link
Contributor

There's a few breaking changes in this upgrade that are affecting us, but I believe I've managed to work around them:

  • no-throw-literal has been renamed to only-throw-error
  • no-var-requires has been renamed to no-require-imports
  • ban-types has been split/renamed, but it's easy to work around once you figure out what's going on
  • no-unused-vars has become more strict. Mostly around unused exceptions, but also one other case in the tests.
  • no-unused-expressions is catching more things. Some are genuine bugs where we are forgetting to call a function, and some are more minor where we are using ternary expressions instead of if-then conditions.
  • no-empty-object-type is complaining where we are defining types equivalent to their supertype, but this is easily fixable using type instead of interface.
  • We're getting Parsing error: "parserOptions.project" has been provided for @typescript-eslint/parser. for a bunch of .js files. My initial thought here is we should just ignore these files from linting. They're all small and just for configuring jest.
  • react/prop-types was complaining because prop types weren't being automatically detected when using forwardRef.

Apologies the fixes are not split up by commit. I didn't think to do that until after I'd been hacking on things for a while 😢

Copy link
Member

@koesie10 koesie10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@robertbrignull robertbrignull merged commit 14c974e into main Aug 14, 2024
28 checks passed
@robertbrignull robertbrignull deleted the dependabot/npm_and_yarn/extensions/ql-vscode/typescript-eslint-7954a73ad2 branch August 14, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Update dependencies Dependabot update PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants