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

[Snyk] Upgrade eslint from 6.8.0 to 9.18.0 #158

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

Conversation

ekmixon
Copy link
Owner

@ekmixon ekmixon commented Feb 1, 2025

snyk-top-banner

Snyk has created this PR to upgrade eslint from 6.8.0 to 9.18.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 136 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: eslint
  • 9.18.0 - 2025-01-10

    Features

    • e84e6e2 feat: Report allowed methods for no-console rule (#19306) (Anna Bocharova)
    • 8efc2d0 feat: unflag TypeScript config files (#19266) (Francesco Trotta)
    • 87a9352 feat: check imports and class names in no-shadow-restricted-names (#19272) (Milos Djermanovic)

    Bug Fixes

    • da768d4 fix: correct overrideConfigFile type (#19289) (Francesco Trotta)

    Documentation

    • d9c23c5 docs: replace var with const in rule examples (#19325) (Tanuj Kanti)
    • 8e1a898 docs: add tabs to cli code blocks (#18784) (Jay)
    • f3aeefb docs: rewrite using let and const in rule examples (#19320) (PoloSpark)
    • 0b680b3 docs: Update README (GitHub Actions Bot)
    • 98c86a9 docs: Edit this page button link to different branches (#19228) (Tanuj Kanti)
    • 6947901 docs: remove hardcoded edit link (#19323) (Milos Djermanovic)
    • 03f2f44 docs: rewrite var with const in rules examples (#19317) (Thiago)
    • 26c3003 docs: Clarify dangers of eslint:all (#19318) (Nicholas C. Zakas)
    • c038257 docs: add eqeqeq in related rules to no-eq-null (#19310) (루밀LuMir)
    • 89c8fc5 docs: rewrite examples with var using let and const (#19315) (Amaresh S M)
    • db574c4 docs: add missing backticks to no-void (#19313) (루밀LuMir)
    • 8d943c3 docs: add missing backticks to default-case-last (#19311) (루밀LuMir)
    • 36ef8bb docs: rewrite examples with var using let and const (#19298) (Amaresh S M)
    • 1610c9e docs: add missing backticks to no-else-return (#19309) (루밀LuMir)
    • df409d8 docs: Update README (GitHub Actions Bot)
    • 2e84213 docs: Fix Horizontal Scroll Overflow in Rule Description on Mobile View (#19304) (Amaresh S M)
    • 6e7361b docs: replace var with let and const in rule example (#19302) (Tanuj Kanti)
    • 069af5e docs: rewrite var using const in rule examples (#19303) (Kim GyeonWon)
    • 064e35d docs: remove 'I hope to' comments from scope-manager-interface (#19300) (Josh Goldberg ✨)
    • 8e00305 docs: replace var with const in rule examples (#19299) (Tanuj Kanti)
    • a559009 docs: Add warning about extending core rules (#19295) (Nicholas C. Zakas)
    • 0bfdf6c docs: Update README (GitHub Actions Bot)
    • ce0b9ff docs: add navigation link for code explorer (#19285) (Tanuj Kanti)
    • e255cc9 docs: add bluesky icon to footer (#19290) (Tanuj Kanti)
    • 5d64851 docs: remove outdated info about environments (#19296) (Francesco Trotta)
    • eec01f0 docs: switch rule examples config format to languageOptions (#19277) (Milos Djermanovic)
    • b36ca0a docs: Fixing Focus Order by Rearranging Element Sequence (#19241) (Amaresh S M)
    • d122c8a docs: add missing backticks to sort-imports (#19282) (루밀LuMir)
    • 0367a70 docs: update custom parser docs (#19288) (Francesco Trotta)
    • 8c07ebb docs: add border-radius to hX:target selector styles (#19270) (루밀LuMir)
    • eff7c57 docs: add limitation section in no-loop-func (#19287) (Tanuj Kanti)
    • 5db226f docs: add missing backticks in various parts of the documentation (#19269) (루밀LuMir)
    • 789edbb docs: Update README (GitHub Actions Bot)
    • 613c06a docs: mark rules that are frozen with ❄️ (#19231) (Amaresh S M)
    • 43172ec docs: Update README (GitHub Actions Bot)
    • ac8b3c4 docs: fix description of overrideConfigFile option (#19262) (Milos Djermanovic)
    • bbb9b46 docs: Update README (GitHub Actions Bot)
    • 995b492 docs: fix inconsistent divider in rule categories box (#19249) (Tanuj Kanti)
    • f76d05d docs: Refactor search result handling with better event listener cleanup (#19252) (Amaresh S M)
    • c5f3d7d docs: Update README (GitHub Actions Bot)

    Chores

    • c52be85 chore: upgrade to @ eslint/[email protected] (#19330) (Francesco Trotta)
    • 362099c chore: package.json update for @ eslint/js release (Jenkins)
    • 495aa49 chore: extract package name from package.json for public interface (#19314) (루밀LuMir)
    • 6fe0e72 chore: update dependency @ eslint/json to ^0.9.0 (#19263) (renovate[bot])
  • 9.17.0 - 2024-12-13

    Features

    • eed91d1 feat: add suggestions to no-unused-vars (#18352) (Tanuj Kanti)

    Bug Fixes

    • 67d683d fix: fix crash when message.fix is nullish (#19168) (ntnyq)
    • c618707 fix: ignore vars with non-identifier references in no-useless-assignment (#19200) (YeonJuan)

    Documentation

    • 3c22d2a docs: update yoda to Yoda in yoda.md for consistency (#19230) (루밀LuMir)
    • e0a2203 docs: add missing backticks to no-sequences (#19233) (루밀LuMir)
    • 4cc4881 docs: Update README (GitHub Actions Bot)
    • 3db6fdf docs: [no-await-in-loop] expand on benefits and inapplicability (#19211) (Kirk Waiblinger)
    • bf2a4f6 docs: add missing backticks to func-style (#19227) (루밀LuMir)
    • ba098bd docs: add missing header to prefer-spread (#19224) (루밀LuMir)
    • b607ae6 docs: update description of no-param-reassign (#19220) (루밀LuMir)
    • 1eb424d docs: add missing backticks to prefer-destructuring (#19223) (루밀LuMir)
    • 85998d1 docs: add missing backticks to no-unneeded-ternary (#19222) (루밀LuMir)
    • b75b32c docs: add missing backticks to no-new-func (#19219) (루밀LuMir)
    • a7700bc docs: add missing backticks to id-length (#19217) (루밀LuMir)
    • e2bb429 docs: add missing backticks to complexity.md (#19214) (루밀LuMir)
    • 045d716 docs: add missing ) to id-denylist (#19213) (루밀LuMir)
    • 7fe4114 docs: Update README (GitHub Actions Bot)
    • c743ba6 docs: add CSS language to no-restricted-syntax (#19208) (Milos Djermanovic)
    • 1416d70 docs: add missing backticks to eqeqeq (#19207) (루밀LuMir)
    • b950c1b docs: add missing backticks to prefer-object-spread (#19206) (루밀LuMir)
    • 8a941cb docs: update docs and description of require-unicode-regexp (#19205) (루밀LuMir)
    • cbab228 docs: Update README (GitHub Actions Bot)
    • f2257ce docs: update comments and description of no-script-url (#19203) (루밀LuMir)
    • 365f0f4 docs: add missing backtick to default-case-last (#19202) (루밀LuMir)
    • e6b84f5 docs: add missing punctuation in document (#19161) (루밀LuMir)
    • c88708e docs: replace quote with backtick in description of for-direction (#19199) (루밀LuMir)
    • a76f233 docs: use higher contrast color tokens for code comments (#19187) (Josh Goldberg ✨)
    • db19502 docs: Update README (GitHub Actions Bot)

    Chores

    • cc243c9 chore: upgrade to @ eslint/[email protected] (#19242) (Francesco Trotta)
    • 84c5787 chore: package.json update for @ eslint/js release (Jenkins)
    • 4c4f53b chore: add missing backticks to flags.js (#19226) (루밀LuMir)
    • 4b3132c chore: update dependency eslint-plugin-expect-type to ^0.6.0 (#19221) (renovate[bot])
    • 9bf2204 chore: add type definitions for the eslint-config-eslint package (#19050) (Arya Emami)
    • ee8c220 chore: fix incorrect name property in integration-tutorial-code (#19218) (루밀LuMir)
    • cca801d chore: Upgrade cross-spawn to 7.0.6 (#19185) (folortin)
  • 9.16.0 - 2024-11-29

    Features

    • 8f70eb1 feat: Add ignoreComputedKeys option in sort-keys rule (#19162) (Milos Djermanovic)

    Documentation

    • 9eefc8f docs: fix typos in use-isnan (#19190) (루밀LuMir)
    • 0c8cea8 docs: switch the order of words in no-unreachable (#19189) (루밀LuMir)
    • 0c19417 docs: add missing backtick to no-async-promise-executor (#19188) (루밀LuMir)
    • 8df9276 docs: add backtick in -0 in description of no-compare-neg-zero (#19186) (루밀LuMir)
    • 7e16e3f docs: fix caseSensitive option's title of sort-keys (#19183) (Tanuj Kanti)
    • 0c6b842 docs: fix typos in migration-guide.md (#19180) (루밀LuMir)
    • 353266e docs: fix a typo in debug.md (#19179) (루밀LuMir)
    • 5ff318a docs: delete unnecessary horizontal rule(---) in nodejs-api (#19175) (루밀LuMir)
    • 576bcc5 docs: mark more rules as handled by TypeScript (#19164) (Tanuj Kanti)
    • 742d054 docs: note that no-restricted-syntax can be used with any language (#19148) (Milos Djermanovic)

    Chores

    • feb703b chore: upgrade to @ eslint/[email protected] (#19195) (Francesco Trotta)
    • df9bf95 chore: package.json update for @ eslint/js release (Jenkins)
    • f831893 chore: add type for ignoreComputedKeys option of sort-keys (#19184) (Tanuj Kanti)
    • 3afb8a1 chore: update dependency @ eslint/json to ^0.8.0 (#19177) (Milos Djermanovic)
    • 1f77c53 chore: add repository.directory property to package.json (#19165) (루밀LuMir)
    • d460594 chore: update dependency @ arethetypeswrong/cli to ^0.17.0 (#19147) (renovate[bot])
    • 45cd4ea refactor: update default options in rules (#19136) (Milos Djermanovic)
  • 9.15.0 - 2024-11-15

    Features

    • 01557ce feat: Implement Language#normalizeLanguageOptions() (#19104) (Nicholas C. Zakas)
    • 2edc0e2 feat: add meta.defaultOptions (#17656) (Josh Goldberg ✨)
    • bdec50e feat: fix no-useless-computed-key false negative with __proto__ (#19123) (Milos Djermanovic)
    • 3087c9e feat: add meta object to @ eslint/js plugin (#19095) (Francesco Trotta)

    Bug Fixes

    • fd33f13 fix: update types for no-restricted-imports rule (#19060) (Nitin Kumar)
    • bd35098 fix: switch away from Node.js node:assert and AssertionError (#19082) (Josh Goldberg ✨)
    • 9db5b15 fix: unsafe report for no-lonely-if (#19087) (Abraham Guo)
    • 68fa497 fix: ignore files on a different drive on Windows (#19069) (Francesco Trotta)
    • 4ce625a fix: upgrade @ humanwhocodes/[email protected] to avoid debug logs (#19102) (Milos Djermanovic)

    Documentation

    • d927920 docs: fix styles in no-js mode (#18916) (Tanuj Kanti)
    • 09bc2a8 docs: Update README (GitHub Actions Bot)
    • 39089c8 docs: add no-useless-computed-key examples with object patterns (#19109) (Milos Djermanovic)
    • 895c60f docs: add missing messageId property and suggestion properties (#19122) (fnx)
    • 298625e docs: Change CLI -c to use flat config (#19103) (Nicholas C. Zakas)
    • 522d8a3 docs: add deprecation on indent, quotes and semi rule types (#19090) (Marco Pasqualetti)

    Chores

Snyk has created this PR to upgrade eslint from 6.8.0 to 9.18.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
Copy link

sourcery-ai bot commented Feb 1, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the eslint dependency from version 6.8.0 to 9.18.0. This is a major version upgrade, which includes new features, bug fixes, documentation updates, and chore changes.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
The eslint dependency was upgraded from 6.8.0 to 9.18.0.
  • The version of eslint in package.json was updated.
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!
  • 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. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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