Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 25, 2025

Bumps eslint from 8.57.0 to 9.21.0.

Release notes

Sourced from eslint's releases.

v9.21.0

Features

  • 418717f feat: introduce new deprecated types for rules (#19238) (fnx)
  • 5c5b802 feat: Add --ext CLI option (#19405) (Milos Djermanovic)

Bug Fixes

  • db5340d fix: update missing plugin message template (#19445) (Milos Djermanovic)
  • d8ffdd4 fix: do not exit process on rule crash (#19436) (Francesco Trotta)

Documentation

  • c5561ea docs: Update README (GitHub Actions Bot)
  • 80b0485 docs: replace var with let and const in rule example (#19434) (Tanuj Kanti)
  • f67d5e8 docs: Update README (GitHub Actions Bot)
  • 75afc61 docs: Update README (GitHub Actions Bot)
  • 0636cab docs: Update Eleventy from v2 to v3 (#19415) (Amaresh S M)
  • dd7d930 docs: Update README (GitHub Actions Bot)

Chores

  • a8c9a9f chore: update @eslint/eslintrc and @eslint/js (#19453) (Francesco Trotta)
  • 265e0cf chore: package.json update for @​eslint/js release (Jenkins)
  • 3401b85 test: add test for Rule.ReportDescriptor type (#19449) (Francesco Trotta)
  • e497aa7 chore: update rewrite dependencies (#19448) (Francesco Trotta)
  • dab5478 chore: better error message for missing plugin in config (#19402) (Tanuj Kanti)
  • ebfe2eb chore: set js language for bug report issue config block (#19439) (Josh Goldberg ✨)
  • 5fd211d test: processors can return subpaths (#19425) (Milos Djermanovic)

v9.20.1

Bug Fixes

Documentation

  • fe3ccb2 docs: allow typing in search box while dropdown is open (#19424) (Amaresh S M)
  • 93c78a5 docs: Add instructions for pnpm compat (#19422) (Nicholas C. Zakas)
  • b476a93 docs: Fix Keyboard Navigation for Search Results (#19416) (Amaresh S M)
  • ccb60c0 docs: Update README (GitHub Actions Bot)

v9.20.0

Features

  • e89a54a feat: change behavior of inactive flags (#19386) (Milos Djermanovic)

Bug Fixes

  • 91d4d9f fix: Bring types in sync with @​eslint/core (#19157) (Nicholas C. Zakas)
  • fa25c7a fix: Emit warning when empty config file is used (#19399) (Nicholas C. Zakas)
  • 31a9fd0 fix: Clearer error message for wrong plugin format (#19380) (Nicholas C. Zakas)
  • 61d99e3 fix: Better error message for unserializable parser (#19384) (Nicholas C. Zakas)
  • db1b9a6 fix: Ensure module scope is checked for references in consistent-this (#19383) (Nicholas C. Zakas)
  • 8bcd820 fix: arrow-body-style crash with single-token body (#19379) (Milos Djermanovic)

Documentation

  • b7012c8 docs: rewrite examples with var using let and const (#19407) (Mueez Javaid Hashmi)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.21.0 - February 21, 2025

  • a8c9a9f chore: update @eslint/eslintrc and @eslint/js (#19453) (Francesco Trotta)
  • 265e0cf chore: package.json update for @​eslint/js release (Jenkins)
  • 418717f feat: introduce new deprecated types for rules (#19238) (fnx)
  • 3401b85 test: add test for Rule.ReportDescriptor type (#19449) (Francesco Trotta)
  • e497aa7 chore: update rewrite dependencies (#19448) (Francesco Trotta)
  • c5561ea docs: Update README (GitHub Actions Bot)
  • db5340d fix: update missing plugin message template (#19445) (Milos Djermanovic)
  • d8ffdd4 fix: do not exit process on rule crash (#19436) (Francesco Trotta)
  • dab5478 chore: better error message for missing plugin in config (#19402) (Tanuj Kanti)
  • 80b0485 docs: replace var with let and const in rule example (#19434) (Tanuj Kanti)
  • ebfe2eb chore: set js language for bug report issue config block (#19439) (Josh Goldberg ✨)
  • f67d5e8 docs: Update README (GitHub Actions Bot)
  • 75afc61 docs: Update README (GitHub Actions Bot)
  • 5fd211d test: processors can return subpaths (#19425) (Milos Djermanovic)
  • 0636cab docs: Update Eleventy from v2 to v3 (#19415) (Amaresh S M)
  • 5c5b802 feat: Add --ext CLI option (#19405) (Milos Djermanovic)
  • dd7d930 docs: Update README (GitHub Actions Bot)

v9.20.1 - February 11, 2025

  • fe3ccb2 docs: allow typing in search box while dropdown is open (#19424) (Amaresh S M)
  • 274f054 fix: fix RuleContext type (#19417) (Francesco Trotta)
  • 93c78a5 docs: Add instructions for pnpm compat (#19422) (Nicholas C. Zakas)
  • b476a93 docs: Fix Keyboard Navigation for Search Results (#19416) (Amaresh S M)
  • ccb60c0 docs: Update README (GitHub Actions Bot)

v9.20.0 - February 7, 2025

  • 979097a chore: upgrade @​eslint/js@​9.20.0 (#19412) (Francesco Trotta)
  • 031734e chore: package.json update for @​eslint/js release (Jenkins)
  • 91d4d9f fix: Bring types in sync with @​eslint/core (#19157) (Nicholas C. Zakas)
  • b7012c8 docs: rewrite examples with var using let and const (#19407) (Mueez Javaid Hashmi)
  • d4c47c3 test: avoid empty config warning in test output (#19408) (Milos Djermanovic)
  • e89a54a feat: change behavior of inactive flags (#19386) (Milos Djermanovic)
  • fa25c7a fix: Emit warning when empty config file is used (#19399) (Nicholas C. Zakas)
  • 6406376 docs: Update README (GitHub Actions Bot)
  • 350f2b9 docs: rewrite some examples with var using let and const (#19404) (Mueez Javaid Hashmi)
  • 93c325a docs: rewrite examples with var using let and const (#19398) (Mueez Javaid Hashmi)
  • 56ff404 docs: replace var with let or const in rules docs (#19396) (Daniel Harbrueger)
  • 4053226 docs: change sourceType in no-eval examples (#19393) (Milos Djermanovic)
  • 1324af0 docs: replace var with let and const in rules docs (#19392) (Daniel Harbrueger)
  • 8b87e00 docs: replace var with const and let in rules (#19389) (Tanuj Kanti)
  • 31a9fd0 fix: Clearer error message for wrong plugin format (#19380) (Nicholas C. Zakas)
  • 61d99e3 fix: Better error message for unserializable parser (#19384) (Nicholas C. Zakas)
  • 758c66b docs: Explain what frozen rules mean (#19382) (Nicholas C. Zakas)
  • 67dd82a chore: update dependency @​eslint/json to ^0.10.0 (#19387) (renovate[bot])
  • db1b9a6 fix: Ensure module scope is checked for references in consistent-this (#19383) (Nicholas C. Zakas)
  • 8bcd820 fix: arrow-body-style crash with single-token body (#19379) (Milos Djermanovic)

... (truncated)

Commits

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 Sourcery

Bump eslint from 8.57.0 to 9.21.0. This includes new features, bug fixes, documentation updates, and chore updates.

New Features:

  • The update introduces new deprecated types for rules.
  • The update adds a --ext CLI option.

Tests:

  • The update includes a new test for the Rule.ReportDescriptor type.
  • The update ensures processors can return subpaths.

@sourcery-ai
Copy link

sourcery-ai bot commented Feb 25, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the eslint dependency from version 8.57.0 to 9.21.0. This update incorporates the latest features, fixes, and improvements from the eslint project.

Sequence diagram for ESLint Rule Processing

sequenceDiagram
  participant ESLint
  participant Rule
  participant AST
  participant Config

  ESLint->>Config: Load Configuration
  ESLint->>AST: Parse Code
  ESLint->>Rule: Apply Rule
  alt Rule is active
    Rule->>AST: Traverse AST
    Rule->>Rule: Check Node
    alt Node violates rule
      Rule->>ESLint: Report Error
    end
  end
  ESLint->>ESLint: Aggregate Results
Loading

Updated class diagram for RuleContext

classDiagram
  class RuleContext {
    + report(descriptor: ReportDescriptor): void
  }

  class ReportDescriptor {
    + loc: SourceLocation
    + message: string
  }

  RuleContext -- ReportDescriptor : has
  note for RuleContext "RuleContext type has been fixed in eslint v9.20.1"
  note for ReportDescriptor "Test added for Rule.ReportDescriptor type in eslint v9.21.0"
Loading

Flow diagram for ESLint Configuration Loading

graph LR
    A[Start] --> B{Find ESLint Configuration File};
    B -- Yes --> C[Load Configuration File];
    B -- No --> D[Use Default Configuration];
    C --> E{Handle Missing Plugins};
    D --> E
    E -- Plugin Found --> F[Apply Plugin Configuration];
    E -- Plugin Missing --> G[Display Improved Error Message];
    F --> H[Lint Files];
    G --> H
    H --> I[End];
    style G fill:#f9f,stroke:#333,stroke-width:2px
Loading

File-Level Changes

Change Details Files
The pull request updates the eslint dependency from version 8.57.0 to 9.21.0.
  • Updates the eslint dependency to the latest version.
  • Ensures the project benefits from the newest features, bug fixes, and performance improvements in eslint.
package.json
yarn.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@MekDrop
Copy link
Owner

MekDrop commented Feb 25, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-9.21.0 branch 4 times, most recently from 40f152b to 6e578a8 Compare February 25, 2025 23:11
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.0...v9.21.0)

---
updated-dependencies:
- dependency-name: 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/eslint-9.21.0 branch from 6e578a8 to de4f521 Compare March 1, 2025 13:01
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2025

Superseded by #149.

@dependabot dependabot bot closed this Apr 1, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/eslint-9.21.0 branch April 1, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants