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

build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.8 to 8.0.0 #186

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps @typescript-eslint/eslint-plugin from 5.59.8 to 8.0.0.

Release notes

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

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)
  • typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#9104)
  • typescript-estree: also remove projectService in withoutProjectParserOptions (#9287)
  • typescript-estree: exposes ProjectService logs through the plugin (#9337)
  • utils: add Linter configType constructor option (#8999)
  • utils: swap LegacyESLint out for FlatESLint as ESLint export (#8972)
  • utils: remove deprecated context helpers (#9000)
  • utils: allow specifying additional rule meta.docs in RuleCreator (#9025)

🩹 Fixes

  • correct eslint-plugin's peerDependency on parser@8 (#9089)
  • bring back in allowdefaultprojectforfiles rename (7dfceeeea)
  • disable projectService in disabled-type-checked shared config (#9460)
  • eslint-plugin: include alpha pre-releases in parser peer dependency (#9099)

... (truncated)

Changelog

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

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

  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option

  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock

  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in

  • eslint-plugin: [no-unused-vars] report if var used only in typeof

  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8

  • rule-tester: switched to flat config

  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict

... (truncated)

Commits
  • 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 ...
  • 9eec790 fix(eslint-plugin): [strict-boolean-expressions] support branded booleans (#9...
  • 9927a29 docs: add ast-spec, type-utils docs with docusaurus-plugin-typedoc (#9293)
  • 6cebdf6 feat(eslint-plugin): [no-unnecessary-type-parameters] promote to strict (#9662)
  • 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)

Summary by CodeRabbit

  • New Features

    • Upgraded key TypeScript-related packages for improved linting and code quality.
    • Introduced new utilities for enhanced pattern matching and TypeScript API interactions.
  • Bug Fixes

    • Addressed potential issues related to outdated dependencies, improving performance and security.
  • Documentation

    • Updated dependency information to reflect major version changes, prompting users to review their configurations.

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.8 to 8.0.0.
- [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.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 5, 2024
Copy link

coderabbitai bot commented Aug 5, 2024

Walkthrough

The recent updates to the JavaScript project enhance dependency management, particularly for TypeScript-related packages. Key upgrades include a major version bump for several @typescript-eslint packages, improving linting and code quality. Additionally, the inclusion of new utilities and the removal of outdated packages aim to modernize the codebase, promoting better performance and compatibility with current development practices.

Changes

Files Change Summary
.pnp.cjs, package.json Upgraded @typescript-eslint packages from 5.59.8 to 8.0.0, enhancing linting capabilities. Updated @eslint-community/regexpp from 4.5.0 to 4.11.0. Added minimatch (v9.0.5) and ts-api-utils (v1.3.0). Removed outdated packages like natural-compare-lite.

Poem

🐇 In the garden where code blooms bright,
Dependencies dance, a joyous sight!
With TypeScript's might, our paths are clear,
Upgraded tools bring us cheer!
So hop along, let’s code and play,
A better tomorrow starts today! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0ecd87e and 50ce14e.

Files ignored due to path filters (27)
  • .yarn/cache/@eslint-community-regexpp-npm-4.11.0-dd7ae18a6d-97d2fe4669.zip is excluded by !**/.yarn/**
  • .yarn/cache/@eslint-community-regexpp-npm-4.5.0-ee069447ee-99c0133594.zip is excluded by !**/.yarn/**
  • .yarn/cache/@types-semver-npm-7.3.13-56212b60da-00c0724d54.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-eslint-plugin-npm-5.59.8-255dbedf93-3e05cd0614.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-eslint-plugin-npm-8.0.0-1d851e884d-202cbc2b07.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-scope-manager-npm-5.59.8-d925c50275-e1e810ee99.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-scope-manager-npm-8.0.0-7eded7f3f2-0eea33f5fa.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-type-utils-npm-5.59.8-61b85480e4-d9fde31397.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-type-utils-npm-8.0.0-ed297ac445-9c84d69d5a.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-types-npm-5.59.8-aac9636f23-559473d560.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-types-npm-8.0.0-4d43d4dad8-2293c8c9bb.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-typescript-estree-npm-5.59.8-8d25500a8f-d93371cc86.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-typescript-estree-npm-8.0.0-7780851516-38b6580798.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-utils-npm-5.59.8-24495aa535-cbaa057485.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-utils-npm-8.0.0-01d19a1298-a6faf16616.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-visitor-keys-npm-5.59.8-bd7eb812d7-6bfa7918db.zip is excluded by !**/.yarn/**
  • .yarn/cache/@typescript-eslint-visitor-keys-npm-8.0.0-bf14db79d7-ae823bf8bd.zip is excluded by !**/.yarn/**
  • .yarn/cache/eslint-scope-npm-5.1.1-71fe59b18a-47e4b6a3f0.zip is excluded by !**/.yarn/**
  • .yarn/cache/estraverse-npm-4.3.0-920a32f3c6-a6299491f9.zip is excluded by !**/.yarn/**
  • .yarn/cache/grapheme-splitter-npm-1.0.4-648f2bf509-0c22ec54de.zip is excluded by !**/.yarn/**
  • .yarn/cache/ignore-npm-5.3.1-f6947c5df7-71d7bb4c1d.zip is excluded by !**/.yarn/**
  • .yarn/cache/minimatch-npm-9.0.5-9aa93d97fa-2c035575ed.zip is excluded by !**/.yarn/**
  • .yarn/cache/natural-compare-lite-npm-1.4.0-12b6b308ed-5222ac3986.zip is excluded by !**/.yarn/**
  • .yarn/cache/semver-npm-7.6.3-57e82c14d5-4110ec5d01.zip is excluded by !**/.yarn/**
  • .yarn/cache/ts-api-utils-npm-1.3.0-33457908f8-c746ddabfd.zip is excluded by !**/.yarn/**
  • .yarn/install-state.gz is excluded by !**/.yarn/**
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (2)
  • .pnp.cjs (24 hunks)
  • package.json (1 hunks)
Additional comments not posted (25)
package.json (1)

30-30: Update to @typescript-eslint/eslint-plugin version 8.0.0

This major version update includes stricter parent types for the AST, performance improvements, removal of deprecated rules, and changes to rule behaviors. Ensure that your existing ESLint configurations are compatible with these changes and run your tests to verify that the new linting rules do not introduce any issues.

.pnp.cjs (24)

35-35: LGTM!

The update to @typescript-eslint/eslint-plugin from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


813-829: LGTM!

The update to the configuration for @eslint-community/eslint-utils is correct and aligns with the PR summary.


857-860: LGTM!

The update to @eslint-community/regexpp from 4.5.0 to 4.11.0 is correct and aligns with the PR summary.


1611-1635: LGTM!

The update to @typescript-eslint/eslint-plugin and its dependencies is correct and aligns with the PR summary.


1689-1694: LGTM!

The update to @typescript-eslint/scope-manager from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


1733-1736: LGTM!

The update to @typescript-eslint/types from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


1749-1768: LGTM!

The update to @typescript-eslint/typescript-estree from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


1777-1789: LGTM!

The update to the configuration for @typescript-eslint/typescript-estree is correct and aligns with the PR summary.


1809-1809: LGTM!

The update to the configuration for tsutils is correct and aligns with the PR summary.


1820-1837: LGTM!

The update to @typescript-eslint/utils from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


1872-1877: LGTM!

The update to @typescript-eslint/visitor-keys from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


2607-2607: LGTM!

The update to @typescript-eslint/eslint-plugin from 5.59.8 to 8.0.0 is correct and aligns with the PR summary.


3378-3378: LGTM!

The update to @typescript-eslint/eslint-plugin from 5.59.8 to 8.0.0 and @typescript-eslint/parser from 5.59.8 to 5.58.0 is correct and aligns with the PR summary.


3467-3467: LGTM!

The update to the configuration for eslint-plugin-es-x is correct and aligns with the PR summary.


3534-3534: LGTM!

The update to the configuration for eslint-plugin-n is correct and aligns with the PR summary.


3534-3534: LGTM!

The update to the configuration for eslint-scope is correct and aligns with the PR summary.


3534-3534: LGTM!

The update to the configuration for estraverse is correct and aligns with the PR summary.


3534-3534: LGTM!

The update to the configuration for graphemer is correct and aligns with the PR summary.


4412-4418: LGTM!

The update to the configuration for ignore is correct and aligns with the PR summary.


5254-5261: LGTM!

The update to the configuration for minimatch is correct and aligns with the PR summary.


3534-3534: LGTM!

The update to the configuration for negotiator is correct and aligns with the PR summary.


6355-6360: LGTM!

The update to the configuration for semver is correct and aligns with the PR summary.


6788-6822: LGTM!

The update to the configuration for ts-api-utils is correct and aligns with the PR summary.


6912-6915: LGTM!

The update to the configuration for tsutils is correct and aligns with the PR summary.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #187.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.0.0 branch August 12, 2024 12:11
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.

0 participants