Skip to content

[Snyk] Upgrade eslint from 6.8.0 to 9.25.1 #175

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekmixon
Copy link
Owner

@ekmixon ekmixon commented May 17, 2025

snyk-top-banner

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

ℹ️ 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 145 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: eslint
  • 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 (#19578) (Sweta Tanwar)
    • 0c65c62 docs: don't pass filename when linting rule examples (#19571) (Milos Djermanovic)
    • 6be36c9 docs: Update custom-rules.md code example of fixer (#19555) (Yifan Pan)

    Build Related

    • 366e369 build: re-enable Prettier formatting for package.json files (#19569) (Francesco Trotta)

    Chores

    • ef67420 chore: upgrade @ eslint/[email protected] (#19602) (Milos Djermanovic)
    • 4946847 chore: package.json update for @ eslint/js release (Jenkins)
    • a995acb chore: correct 'flter'/'filter' typo in package script (#19587) (Josh Goldberg ✨)
    • b9a5efa test: skip symlink test on Windows (#19503) (fisker Cheung)
    • 46eea6d chore: remove Rule & FormatterFunction from shared/types.js (#19556) (Nitin Kumar)
    • bdcc91d chore: modify .editorconfig to keep parity with prettier config (#19577) (Sweta Tanwar)
    • 7790d83 chore: fix some typos in comment (#19576) (todaymoon)
    • 76064a6 test: ignore package-lock.json for eslint-webpack-plugin (#19572) (Francesco Trotta)
  • 9.23.0 - 2025-03-21

    Features

    • 557a0d2 feat: support TypeScript syntax in no-useless-constructor (#19535) (Josh Goldberg ✨)
    • 8320241 feat: support TypeScript syntax in default-param-last (#19431) (Josh Goldberg ✨)
    • 833c4a3 feat: defineConfig() supports "flat/" config prefix (#19533) (Nicholas C. Zakas)
    • 4a0df16 feat: circular autofix/conflicting rules detection (#19514) (Milos Djermanovic)
    • be56a68 feat: support TypeScript syntax in class-methods-use-this (#19498) (Josh Goldberg ✨)

    Bug Fixes

    • 0e20aa7 fix: move deprecated RuleContext methods to subtype (#19531) (Francesco Trotta)
    • cc3bd00 fix: reporting variable used in catch block in no-useless-assignment (#19423) (Tanuj Kanti)
    • d46ff83 fix: no-dupe-keys false positive with proto setter (#19508) (Milos Djermanovic)
    • e732773 fix: navigation of search results on pressing Enter (#19502) (Tanuj Kanti)
    • f4e9c5f fix: allow RuleTester to test files inside node_modules/ (#19499) (fisker Cheung)

    Documentation

    • 5405939 docs: show red underlines in TypeScript examples in rules docs (#19547) (Milos Djermanovic)
    • 48b53d6 docs: replace var with const in examples (#19539) (Nitin Kumar)
    • c39d7db docs: Update README (GitHub Actions Bot)
    • a4f8760 docs: revert accidental changes (#19542) (Francesco Trotta)
    • 280128f docs: add copy button (#19512) (xbinaryx)
    • cd83eaa docs: replace var with const in examples (#19530) (Nitin Kumar)
    • 7ff0cde docs: Update README (GitHub Actions Bot)
    • 996cfb9 docs: migrate sass to module system (#19518) (xbinaryx)
    • 17cb958 docs: replace var with let and const in rule examples (#19515) (Tanuj Kanti)
    • 83e24f5 docs: Replace var with let or const (#19511) (Jenna Toff)
    • a59d0c0 docs: Update docs for defineConfig (#19505) (Nicholas C. Zakas)
    • fe92927 docs: require-unicode-regexp add note for i flag and \w (#19510) (Chaemin-Lim)

    Build Related

    • 2357edd build: exclude autogenerated files from Prettier formatting (#19548) (Francesco Trotta)

    Chores

    • 0ac8ea4 chore: update dependencies for v9.23.0 release (#19554) (Francesco Trotta)
    • 20591c4 chore: package.json update for @ eslint/js release (Jenkins)
    • 901344f chore: update dependency @ eslint/json to ^0.11.0 (#19552) (renovate[bot])
    • 5228383 chore: fix update-readme formatting (#19544) (Milos Djermanovic)
    • 5439525 chore: format JSON files in Trunk (#19541) (Francesco Trotta)
    • 75adc99 chore: enabled Prettier in Trunk (#19354) (Josh Goldberg ✨)
    • 2395168 chore: added .git-blame-ignore-revs for Prettier via trunk fmt (#19538) (Josh Goldberg ✨)
    • 129882d chore: formatted files with Prettier via trunk fmt (#19355) (Josh Goldberg ✨)
    • 1738dbc chore: temporarily disable prettier in trunk (#19537) (Josh Goldberg ✨)
    • dc854fd chore: update dependency shelljs to ^0.9.0 (#19524) (renovate[bot])
    • 5d57496 chore: fix some comments (#19525) (jimmycathy)
    • 9c5c6ee test: fix an assertion failure (#19500) (fisker Cheung)
    • 7a699a6 chore: remove formatting-related lint rules internally (#19473) (Josh Goldberg ✨)
    • c99db89 test: replace WebdriverIO with Cypress (#19465) (Pixel998)
  • 9.22.0 - 2025-03-07

    Features

    • 7ddb095 feat: Export defineConfig, globalIgnores (#19487) (Nicholas C. Zakas)

    Bug Fixes

    • 19c0127 fix: improve message for no-console suggestions (#19483) (Francesco Trotta)
    • 49e624f fix: improve error message for falsy parsed JS AST (#19458) (Josh Goldberg ✨)

    Documentation

    • 86c5f37 docs: Update README (GitHub Actions Bot)
    • fbdeff0 docs: Update README (GitHub Actions Bot)
    • c9e8510 docs: generate deprecation notice in TSDoc comments from rule metadata (#19461) (Francesco Trotta)
    • 2f386ad docs: replace var with const in rule examples (#19469) (Tanuj Kanti)
    • 0e688e3 docs: Update README (GitHub Actions Bot)
    • 06b596d docs: Restore the carrot to the position where the search input was lost (#19459) (Amaresh S M)

    Chores

  • 9.21.0 - 2025-02-21

    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)
  • 9.20.1 - 2025-02-11

    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)
  • 9.20.0 - 2025-02-07

    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 (

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

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
Copy link

sourcery-ai bot commented May 17, 2025

Reviewer's Guide

This PR upgrades the ESLint dependency from version 6.8.0 to 9.25.1 by updating the package.json entry, introducing a major version bump that may include breaking changes in lint rules and configuration.

File-Level Changes

Change Details Files
Bumped ESLint dependency to latest major release
  • Removed the old eslint version entry (^6.8.0)
  • Added the new eslint version entry (^9.25.1)
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.

2 participants