Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps typescript-eslint from 7.17.0 to 8.3.0.

Release notes

Sourced from typescript-eslint's releases.

v8.3.0

8.3.0 (2024-08-26)

🚀 Features

  • eslint-plugin: [no-deprecation] add rule (#9783)
  • typescript-estree: replace globby w/ fast-glob (#9518)
  • typescript-estree: reload project service once when file config isn't found (#9853)

🩹 Fixes

  • ast-spec: use Expression in argument of ThrowStatement (#9632)
  • eslint-plugin: [no-unnecessary-template-expression] add missing parentheses in autofix (#8673)
  • eslint-plugin: [no-unnecessary-type-parameters] check mapped alias type arguments (#9741)
  • utils: add missing TSSatisfiesExpression in RuleListenerBaseSelectors (#9832)
  • utils: add TSDeclareFunction to functionTypeTypes (#9788)

❤️ Thank You

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

v8.2.0

8.2.0 (2024-08-19)

🚀 Features

  • eslint-plugin: add suggestion to require-await to remove async keyword (#9718)
  • typescript-estree: special-case error for parserOptions.project and project references (#9686)

🩹 Fixes

  • eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of .then (#9059)
  • eslint-plugin: [no-unnecessary-type-assertion] conflict with TS for variables used before assignment (#9209)
  • eslint-plugin: delete [] in message if ReadOnly is detected (#9513)
  • eslint-plugin: [no-redundant-type-constituents] differentiate a types-error any from a true any (#9555)
  • eslint-plugin: [no-unnecessary-type-parameters] check mapped constraint types if necessary (#9740)
  • eslint-plugin: [no-unsafe-enum-comparison] add logic to see through intersections (#9777)
  • typescript-estree: pass in tsconfigRootDir as cwd to getParsedConfigFile (#9804)

❤️ Thank You

... (truncated)

Changelog

Sourced from typescript-eslint's changelog.

8.3.0 (2024-08-26)

🚀 Features

  • eslint-plugin: [no-deprecation] add rule

❤️ Thank You

  • Abraham Guo
  • Daichi Kamiyama
  • Josh Goldberg ✨
  • Kim Sang Du
  • Sukka
  • Vida Xie

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

8.2.0 (2024-08-19)

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

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

8.1.0 (2024-08-12)

🚀 Features

  • typescript-eslint: add JSDoc comments on generated configs

❤️ Thank You

  • Aly Thobani
  • Brad Zacher
  • James
  • Josh Goldberg ✨
  • Joshua Chen
  • Olivier Zalmanski
  • YeonJuan
  • Yukihiro Hasegawa

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

8.0.1 (2024-08-05)

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

... (truncated)

Commits
  • ef2eab1 chore(release): publish 8.3.0
  • d4f6943 chore: enable eslint-plugin-perfectionist on typescript-eslint package (#9851)
  • 57e4120 feat(eslint-plugin): [no-deprecation] add rule (#9783)
  • 7440e14 chore(release): publish 8.2.0
  • 3d78392 chore(release): publish 8.1.0
  • 90576fa feat(typescript-eslint): add JSDoc comments on generated configs (#9672)
  • fb65883 chore: set reportUnusedDisableDirectives level to error (#9743)
  • e05c2e5 chore(release): publish 8.0.1
  • 1db993a chore(release): publish 8.0.0
  • 1b0468e Merge branch 'main'
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
  • @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)
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 1, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/typescript-eslint-8.3.0 branch from 303c50e to b14e3e9 Compare September 2, 2024 06:51
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 7.17.0 to 8.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/typescript-eslint-8.3.0 branch from b14e3e9 to c60e166 Compare September 2, 2024 06:54
@miquelbeltran
Copy link
Contributor

Upgrading to eslint 8.3.0 requires code changes, as the following new warning appears:

Error:    1:15  error  A `require()` style import is forbidden  @typescript-eslint/no-require-imports

This would need to be fixed in order to merge this.

@miquelbeltran miquelbeltran self-assigned this Sep 2, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

This file now contains static analysis rules only for JavaScript

Comment on lines +34 to +37
"//eslint": "performs static analysis over JS files and examples",
"eslint": "eslint --config eslint.config.mjs --fix test/*.js examples/**/*.js",
"//tseslint": "performs static analysis over TS files and examples",
"tseslint": "eslint --config tseslint.config.mjs --fix lib/*.ts",
Copy link
Contributor

Choose a reason for hiding this comment

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

The eslint command is now split in eslint and tseslint to use different config files per language

Copy link
Contributor

Choose a reason for hiding this comment

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

The new tseslint.config.mjs is basically the old eslint.config.mjs

Comment on lines +31 to +34
# Run static analysis on JS files
- run: npm run eslint
# Run static analysis on TS files
- run: npm run tseslint
Copy link
Contributor

@miquelbeltran miquelbeltran Sep 2, 2024

Choose a reason for hiding this comment

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

CI will run both commands separately

image

Copy link
Contributor

@sumitramanga sumitramanga left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for intervening to get this through 💪🏽

@miquelbeltran miquelbeltran merged commit 3753bae into develop Sep 2, 2024
@miquelbeltran miquelbeltran deleted the dependabot/npm_and_yarn/typescript-eslint-8.3.0 branch September 2, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants