Skip to content

Conversation

@ekmixon
Copy link
Owner

@ekmixon ekmixon commented Jun 21, 2025

snyk-top-banner

Snyk has created this PR to upgrade eslint from 6.8.0 to 9.28.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 148 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: eslint
  • 9.28.0 - 2025-05-30

    Features

    • b0674be feat: Customization of serialization for languageOptions (#19760) (Nicholas C. Zakas)
    • a95721f feat: Add --pass-on-unpruned-suppressions CLI option (#19773) (Milos Djermanovic)
    • bfd0e7a feat: support TypeScript syntax in no-use-before-define (#19566) (Tanuj Kanti)
    • 68c61c0 feat: support TS syntax in no-shadow (#19565) (Nitin Kumar)
    • 0f773ef feat: support TS syntax in no-magic-numbers (#19561) (Nitin Kumar)
    • c4a6b60 feat: add allowTypeAnnotation to func-style (#19754) (sethamus)
    • b03ad17 feat: add TypeScript support to prefer-arrow-callback (#19678) (Tanuj Kanti)
    • bc3c331 feat: ignore overloaded function declarations in func-style rule (#19755) (sethamus)

    Bug Fixes

    • eea3e7e fix: Remove configured global variables from GlobalScope#implicit (#19779) (Milos Djermanovic)
    • a467de3 fix: update context.report types (#19751) (Nitin Kumar)
    • fd467bb fix: remove interopDefault to use jiti's default (#19697) (sethamus)
    • 72d16e3 fix: avoid false positive in no-unassigned-vars for declare module (#19746) (Azat S.)
    • 81c3c93 fix: curly types (#19750) (Eli)

    Documentation

    • 3ec2082 docs: Nested arrays in files config entry (#19799) (Nicholas C. Zakas)
    • 89a65b0 docs: clarify how config arrays can apply to subsets of files (#19788) (Shais Ch)
    • 2ba8a0d docs: Add description of meta.namespace to plugin docs (#19798) (Nicholas C. Zakas)
    • 59dd7e6 docs: update func-style with examples (#19793) (Tanuj Kanti)
    • e9129e0 docs: add global scope's implicit field to Scope Manager docs (#19770) (Milos Djermanovic)
    • 52f5b7a docs: fix minor typos and add links (#19743) (루밀LuMir)
    • 00716a3 docs: upfront recommend against using the no-return-await rule (#19727) (Mike DiDomizio)

    Chores

    • 175b7b8 chore: upgrade to @ eslint/[email protected] (#19802) (Francesco Trotta)
    • 844f5a6 chore: package.json update for @ eslint/js release (Jenkins)
    • 62b1c1b chore: update globals to v16 (#19791) (Nitin Kumar)
    • e8a1cb8 chore: ignore jiti-v2.0 & jiti-v2.1 for renovate (#19786) (Nitin Kumar)
    • 43d3975 chore: Add Copilot Instructions file (#19753) (Nicholas C. Zakas)
    • 2dfb5eb test: update SourceCodeTraverser tests (#19763) (Milos Djermanovic)
    • 5bc21f9 chore: add *.code-workspace to .gitignore (#19771) (루밀LuMir)
    • f4fa40e refactor: NodeEventGenerator -> SourceCodeTraverser (#19679) (Nicholas C. Zakas)
    • 0f49329 refactor: use a service to emit warnings (#19725) (Francesco Trotta)
    • 20a9e59 chore: update dependency shelljs to ^0.10.0 (#19740) (renovate[bot])
  • 9.27.0 - 2025-05-16

    Features

    • d71e37f feat: Allow flags to be set in ESLINT_FLAGS env variable (#19717) (Nicholas C. Zakas)
    • ba456e0 feat: Externalize MCP server (#19699) (Nicholas C. Zakas)
    • 07c1a7e feat: add allowRegexCharacters to no-useless-escape (#19705) (sethamus)
    • 7bc6c71 feat: add no-unassigned-vars rule (#19618) (Jacob Bandes-Storch)
    • ee40364 feat: convert no-array-constructor suggestions to autofixes (#19621) (sethamus)
    • 32957cd feat: support TS syntax in max-params (#19557) (Nitin Kumar)

    Bug Fixes

    • 5687ce7 fix: correct mismatched removed rules (#19734) (루밀LuMir)
    • dc5ed33 fix: correct types and tighten type definitions in SourceCode class (#19731) (루밀LuMir)
    • de1b5de fix: correct service property name in Linter.ESLintParseResult type (#19713) (Francesco Trotta)
    • 60c3e2c fix: sort keys in eslint-suppressions.json to avoid git churn (#19711) (Ron Waldon-Howe)
    • 9da90ca fix: add allowReserved to Linter.ParserOptions type (#19710) (Francesco Trotta)
    • fbb8be9 fix: add info to ESLint.DeprecatedRuleUse type (#19701) (Francesco Trotta)

    Documentation

    • 25de550 docs: Update description of frozen rules to mention TypeScript (#19736) (Nicholas C. Zakas)
    • bd5def6 docs: Clean up configuration files docs (#19735) (Nicholas C. Zakas)
    • 4d0c60d docs: Add Neovim to editor integrations (#19729) (Maria José Solano)
    • 71317eb docs: Update README (GitHub Actions Bot)
    • 4c289e6 docs: Update README (GitHub Actions Bot)
    • f0f0d46 docs: clarify that unused suppressions cause non-zero exit code (#19698) (Milos Djermanovic)
    • 8ed3273 docs: fix internal usages of ConfigData type (#19688) (Francesco Trotta)
    • eb316a8 docs: add fmt and check sections to Package.json Conventions (#19686) (루밀LuMir)
    • a3a2559 docs: fix wording in Combine Configs (#19685) (Milos Djermanovic)
    • c8d17e1 docs: Update README (GitHub Actions Bot)

    Chores

    • f8f1560 chore: upgrade @ eslint/[email protected] (#19739) (Milos Djermanovic)
    • ecaef73 chore: package.json update for @ eslint/js release (Jenkins)
    • 596fdc6 chore: update dependency @ arethetypeswrong/cli to ^0.18.0 (#19732) (renovate[bot])
    • f791da0 chore: remove unbalanced curly brace from .editorconfig (#19730) (Maria José Solano)
    • e86edee refactor: Consolidate Config helpers (#19675) (Nicholas C. Zakas)
    • cf36352 chore: remove shared types (#19718) (Francesco Trotta)
    • f60f276 refactor: Easier RuleContext creation (#19709) (Nicholas C. Zakas)
    • 58a171e chore: update dependency @ eslint/plugin-kit to ^0.3.1 (#19712) (renovate[bot])
    • 3a075a2 chore: update dependency @ eslint/core to ^0.14.0 (#19715) (renovate[bot])
    • 44bac9d ci: run tests in Node.js 24 (#19702) (Francesco Trotta)
    • 35304dd chore: add missing funding field to packages (#19684) (루밀LuMir)
    • f305beb test: mock process.emitWarning to prevent output disruption (#19687) (Francesco Trotta)
  • 9.26.0 - 2025-05-02

    Features

    • e9754e7 feat: add reportGlobalThis to no-shadow-restricted-names (#19670) (sethamus)
    • 0fa2b7a feat: add suggestions for eqeqeq rule (#19640) (Nitin Kumar)
    • dcbdcc9 feat: Add MCP server (#19592) (Nicholas C. Zakas)
    • 2dfd83e feat: add ignoreDirectives option in no-unused-expressions (#19645) (sethamus)

    Bug Fixes

    • 96e84de fix: check cache file existence before deletion (#19648) (sethamus)
    • d683aeb fix: don't crash on tests with circular references in RuleTester (#19664) (Milos Djermanovic)
    • 9736d5d fix: add namespace to Plugin.meta type (#19661) (Milos Djermanovic)
    • 17bae69 fix: update RuleTester.run() type (#19634) (Nitin Kumar)

    Documentation

    • dd98d63 docs: Update README (GitHub Actions Bot)
    • c25e858 docs: Update README (GitHub Actions Bot)
    • b2397e9 docs: Update README (GitHub Actions Bot)
    • addd0a6 docs: fix formatting of unordered lists in Markdown (#19660) (Milos Djermanovic)
    • a21b38d docs: Update README (GitHub Actions Bot)
    • c0721a7 docs: fix double space in command (#19657) (CamWass)

    Chores

    • 5b247c8 chore: upgrade to @ eslint/[email protected] (#19681) (Francesco Trotta)
    • d6fa4ac chore: package.json update for @ eslint/js release (Jenkins)
    • 0958690 chore: disambiguate internal types LanguageOptions and Rule (#19669) (Francesco Trotta)
    • f1c858e chore: fix internal type references to Plugin and Rule (#19665) (Francesco Trotta)
    • 40dd299 refactor: One-shot ESQuery selector analysis (#19652) (Nicholas C. Zakas)
    • 1cfd702 chore: update dependency @ eslint/json to ^0.12.0 (#19656) (renovate[bot])
  • 9.25.1 - 2025-04-21

    Bug Fixes

    • cdc8e8c fix: revert directive detection in no-unused-expressions (#19639) (sethamus)

    Chores

  • 9.25.0 - 2025-04-18

    Features

    • dcd95aa feat: support TypeScript syntax in no-empty-function rule (#19551) (sethamus)
    • 77d6d5b feat: support TS syntax in no-unused-expressions (#19564) (Sweta Tanwar)
    • 90228e5 feat: support JSRuleDefinition type (#19604) (루밀LuMir)
    • 59ba6b7 feat: add allowObjects option to no-restricted-properties (#19607) (sethamus)
    • db650a0 feat: support TypeScript syntax in no-invalid-this rule (#19532) (Tanuj Kanti)
    • 9535cff feat: support TS syntax in no-loop-func (#19559) (Nitin Kumar)

    Bug Fixes

    • 910bd13 fix: nodeTypeKey not being used in NodeEventGenerator (#19631) (StyleShit)

    Documentation

    • ca7a735 docs: update no-undef-init when not to use section (#19624) (Tanuj Kanti)
    • 1b870c9 docs: use eslint-config-xo in the getting started guide (#19629) (Nitin Kumar)
    • 5d4af16 docs: add types for multiple rule options (#19616) (Tanuj Kanti)
    • e8f8d57 docs: Update README (GitHub Actions Bot)
    • a40348f docs: no-use-before-define tweaks (#19622) (Kirk Waiblinger)
    • 0ba3ae3 docs: Update README (GitHub Actions Bot)
    • 865dbfe docs: ensure "learn more" deprecation links point to useful resource (#19590) (Kirk Waiblinger)
    • f80b746 docs: add known limitations for no-self-compare (#19612) (Nitin Kumar)
    • 865aed6 docs: Update README (GitHub Actions Bot)

    Chores

    • 88dc196 chore: upgrade @ eslint/[email protected] (#19636) (Milos Djermanovic)
    • 345288d chore: package.json update for @ eslint/js release (Jenkins)
    • affe6be chore: upgrade trunk (#19628) (sethamus)
    • dd20cf2 test: fix no-loop-func test with duplicate variable reports (#19610) (Milos Djermanovic)
    • bd05397 chore: upgrade @ eslint/* dependencies (#19606) (Milos Djermanovic)
    • 22ea18b chore: replace invalid int type with number inside JSDocs. (#19597) (Arya Emami)
  • 9.24.0 - 2025-04-04

    Features

    • 556c25b feat: support loading TS config files using --experimental-strip-types (#19401) (Arya Emami)
    • 72650ac feat: support TS syntax in init-declarations (#19540) (Nitin Kumar)
    • 03fb0bc feat: normalize patterns to handle "./" prefix in files and ignores (#19568) (Pixel998)
    • 071dcd3 feat: support TS syntax in no-dupe-class-members (#19558) (Nitin Kumar)
    • cd72bcc feat: Introduce a way to suppress violations (#19159) (Iacovos Constantinou)
    • 2a81578 feat: support TS syntax in no-loss-of-precision (#19560) (Nitin Kumar)
    • 30ae4ed feat: add new options to class-methods-use-this (#19527) (sethamus)
    • b79ade6 feat: support TypeScript syntax in no-array-constructor (#19493) (Tanuj Kanti)

    Bug Fixes

    • b23d1c5 fix: deduplicate variable names in no-loop-func error messages (#19595) (Nitin Kumar)
    • fb8cdb8 fix: use any[] type for context.options (#19584) (Francesco Trotta)

    Documentation

    • f857820 docs: update documentation for --experimental-strip-types (#19594) (Nikolas Schröter)
    • 803e4af docs: simplify gitignore path handling in includeIgnoreFile section (#19596) (Thomas Broyer)
    • 6d979cc docs: Update README (GitHub Actions Bot)
    • 82177e4 docs: Update README (GitHub Actions Bot)
    • e849dc0 docs: replace existing var with const (

Snyk has created this PR to upgrade eslint from 6.8.0 to 9.28.0.

See this package in npm:
eslint

See this project in Snyk:
https://app.snyk.io/org/ekmixon/project/a50a9592-0b85-48c9-9301-0888580e6c10?utm_source=github&utm_medium=referral&page=upgrade-pr
@sourcery-ai
Copy link

sourcery-ai bot commented Jun 21, 2025

Reviewer's Guide

This PR performs a rolling upgrade of ESLint from v6.8.0 to v9.28.0 by adjusting the dependency declaration and regenerating the lockfile, preparing the codebase for any required config or rule adjustments.

File-Level Changes

Change Details Files
Bump ESLint dependency to 9.28.0
  • Update the eslint version specifier in package.json
  • Regenerate the lockfile to capture updated transitive dependencies
  • Verify that existing ESLint configs remain compatible
package.json

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!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants