[CI] Upgrade to eslint v9#7120
Merged
Rajesh-Nagarajan-11 merged 4 commits intolayer5io:masterfrom Nov 12, 2025
Merged
Conversation
Signed-off-by: Siddhi sahu <himanisahu739@gmail.com>
Member
|
🚀 Preview for commit e07ca5e at: https://6912c08f5ef5199b76af14d8--layer5.netlify.app |
Signed-off-by: Siddhi sahu <himanisahu739@gmail.com>
Member
|
✖ 86 problems (78 errors, 8 warnings) in eslint |
Member
|
🚀 Preview for commit cf2f4fa at: https://6912c49f8ec7bf44bcf6f6d4--layer5.netlify.app |
Member
There was a problem hiding this comment.
Why don't you delete that ?
Contributor
Author
There was a problem hiding this comment.
to disable gatsby in-built eslint loader. Read here:
Member
There was a problem hiding this comment.
In this file you just fixed trailing spaces right ?
Contributor
Author
There was a problem hiding this comment.
yes, eslint did that.
Rajesh-Nagarajan-11
approved these changes
Nov 11, 2025
Member
Rajesh-Nagarajan-11
left a comment
There was a problem hiding this comment.
Looks Good !! Thanks himani 🫶
Darshan174
approved these changes
Nov 12, 2025
Member
|
🚀 Preview for commit 73a9e85 at: https://691497e5443f0e30daa723f6--layer5.netlify.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes #6891
Notes for Reviewers
Initial migration using :
npx @eslint/migrate-config .eslintrc.jsnpm install globals @eslint/js @eslint/eslintrc -Dnpm install eslint@latest -DMy Previous attempt on migrating eslint to v9, resulted in this error during the build:

i resolved this issue by the following:
npm install --save-dev gatsby-plugin-eslint eslint eslint-webpack-plugin eslint-config-react-app.eslintrc.jsfile in the root dir (this prevents Gatsby internal eslint loader trying to use the deprecated options)The sites builds normal now:


checks:

No problem with Husky pre-commit hook inside the devcontainer:

Signed commits