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

chore(deps): update dependency eslint to v9 #903

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) ^7.32.0 -> ^9.0.0 age adoption passing confidence
eslint (source) ^6.8.0 -> ^9.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

eslint/eslint (eslint)

v9.21.0

Compare Source

Features
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

Compare Source

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

Compare Source

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)
  • 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)
  • 758c66b docs: Explain what frozen rules mean (#​19382) (Nicholas C. Zakas)
  • 0ef8bb8 docs: additional checks for rule examples (#​19358) (Milos Djermanovic)
  • 58ab2f6 docs: fix order of installation steps in getting started (#​19326) (Tanuj Kanti)
Chores

v9.19.0

Compare Source

Features
  • 1637b8e feat: add --report-unused-inline-configs (#​19201) (Josh Goldberg ✨)
Bug Fixes
  • aae6717 fix: sync rule type header comments automatically (#​19276) (Francesco Trotta)
Documentation
  • cfea9ab docs: Clarify overrideConfig option (#​19370) (Nicholas C. Zakas)
  • 2b84f66 docs: Update README (#​19362) (Nicholas C. Zakas)
  • 044f93c docs: clarify frozen rule description (#​19351) (Pavel)
  • 797ee7c docs: fix Bluesky links (#​19368) (Milos Djermanovic)
  • 81a9c0e docs: Update README (GitHub Actions Bot)
  • 093fb3d docs: replace var with let and const in rule examples (#​19365) (Tanuj Kanti)
  • 417de32 docs: replace var with const in rule examples (#​19352) (jj)
  • 17f2aae docs: update getting-started config to match default generated config (#​19308) (0xDev)
  • 8a0a5a8 docs: better global ignores instruction (#​19297) (Jacopo Marrone)
  • 6671a2c docs: Update README (GitHub Actions Bot)
  • e39d3f2 docs: fix divider for rule category (#​19264) (Tanuj Kanti)
  • e0cf53f docs: fix search result box position for small screens (#​19328) (Tanuj Kanti)
  • f92a680 docs: replace var with let or const in rule examples (#​19331) (Ravi Teja Kolla)
  • b04b84b docs: revert accidental changes in TS config files docs (#​19336) (Francesco Trotta)
Chores

v9.18.0

Compare Source

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

v9.17.0

Compare Source

Features

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

v9.16.0

Compare Source

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

v9.15.0

Compare Source

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

v9.14.0

Compare Source

Features
  • 3fa009f feat: add support for Import Attributes and RegExp Modifiers (#​19076) (Milos Djermanovic)
  • b0faee3 feat: add types for the @eslint/js package (#​19010) (Nitin Kumar)
Bug Fixes
  • 24d0172 fix: enable retry concurrency limit for readFile() (#​19077) (Nicholas C. Zakas)
  • b442067 fix: Don't crash when directory is deleted during traversal. (#​19067) (Nicholas C. Zakas)
  • d474443 fix: avoid call stack overflow while processing globs (#​19035) (Livia Medeiros)
Documentation
Build Related
Chores

v9.13.0

Compare Source

Features
Bug Fixes
Documentation
  • abdbfa8 docs: mark LintMessage#nodeType as deprecated (#​19019) (Nitin Kumar)
  • 19e68d3 docs: update deprecated rules type definitions (#​19018) (Nitin Kumar)
  • 7dd402d docs: Update examples of passing multiple values to a CLI option (#​19006) (Milos Djermanovic)
  • 5dcbc51 docs: Add example with side-effect imports to no-restricted-imports (#​18997) (Milos Djermanovic)
  • 1ee87ca docs: Update README (GitHub Actions Bot)
  • 2c3dbdc docs: Use prerendered sponsors for README (#​18988) (Milos Djermanovic)
Chores

v9.12.0

Compare Source

Features
Bug Fixes
  • [ea380ca](

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

coderabbitai bot commented Feb 25, 2025

Walkthrough

The pull request upgrades the version of the eslint package across multiple projects. Three package files update eslint from ^7.32.0 to ^9.0.0, while one file changes from ^6.8.0 to ^9.0.0 in their respective devDependencies. These modifications standardize the dependency version across projects.

Changes

File(s) Change Summary
zmsadmin/package.json, zmscalldisplay/package.json, zmsticketprinter/package.json Updated devDependency eslint: ^7.32.0^9.0.0
zmsstatistic/package.json Updated devDependency eslint: ^6.8.0^9.0.0

Suggested reviewers

  • ThomasAFink

Poem

I'm hopping through the code with cheer,
Upgraded eslint brings updates near,
Fresh lines bloom like a garden new,
With carrots of code and a vibrant hue,
I bounce along in digital delight! 🥕🐇


🪧 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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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 generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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
Contributor

@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: 4

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 635590f and 66be183.

⛔ Files ignored due to path filters (4)
  • zmsadmin/package-lock.json is excluded by !**/package-lock.json
  • zmscalldisplay/package-lock.json is excluded by !**/package-lock.json
  • zmsstatistic/package-lock.json is excluded by !**/package-lock.json
  • zmsticketprinter/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • zmsadmin/package.json (1 hunks)
  • zmscalldisplay/package.json (1 hunks)
  • zmsstatistic/package.json (1 hunks)
  • zmsticketprinter/package.json (1 hunks)

@@ -31,7 +31,7 @@
"devDependencies": {
"@parcel/transformer-sass": "^2.7.0",
"chart.js": "^2.7.2",
"eslint": "^6.8.0",
"eslint": "^9.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

ESLint v9 Upgrade in DevDependencies.
The dependency version for ESLint has been updated from an older version (^6.8.0) to "^9.0.0". This major upgrade may introduce breaking changes that could affect your lint rules and configuration. Please verify that your ESLint configuration (e.g., your .eslintrc.* files) has been updated according to the new release's recommendations and that all custom rules/plugins are compatible with v9.

@@ -32,7 +32,7 @@
"devDependencies": {
"@parcel/transformer-sass": "^2.7.0",
"buffer": "^6.0.3",
"eslint": "^7.32.0",
"eslint": "^9.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Upgrade to ESLint v9 in zmsadmin.
ESLint is upgraded to "^9.0.0". Ensure that your ESLint configuration files and any custom plugins or rules in use have been reviewed and updated if necessary. Running the lint command after this upgrade should help catch any new issues.

@@ -32,7 +32,7 @@
}
},
"devDependencies": {
"eslint": "^7.32.0",
"eslint": "^9.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

ESLint Dependency Update in Ticket Printer.
The ESLint version in devDependencies has been bumped to "^9.0.0". Please confirm that your linting setup and any ESLint plugins you rely on are compatible with this new major release to prevent unexpected linting errors.

@@ -37,7 +37,7 @@
"@parcel/transformer-sass": "^2.6.2",
"core-js": "^3.15.2",
"cssnano": "^7.0.0",
"eslint": "^7.32.0",
"eslint": "^9.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Validate ESLint v9 Compatibility in Call Display.
The upgrade to ESLint "^9.0.0" requires rechecking your ESLint configuration and any related plugins to ensure compatibility with the new major release. It is advisable to run a complete lint check and adjust configurations as necessary based on the new CLI behaviors and deprecations.

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.

0 participants