Skip to content

chore: upgrade eslint from v8 to v9 #536

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 9 commits into
base: master
Choose a base branch
from

Conversation

ersachin3112
Copy link
Contributor

@ersachin3112 ersachin3112 commented Jul 23, 2025

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

upgrade eslint from v8 to v9

Breaking Changes

No

Additional Info

No

Copy link

codecov bot commented Jul 23, 2025

Codecov Report

❌ Patch coverage is 93.80531% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.03%. Comparing base (47ad780) to head (bfdcb13).
⚠️ Report is 24 commits behind head on master.

Files with missing lines Patch % Lines
src/utils.js 93.33% 6 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #536      +/-   ##
==========================================
+ Coverage   91.55%   93.03%   +1.47%     
==========================================
  Files           7        7              
  Lines         604      660      +56     
  Branches      198      217      +19     
==========================================
+ Hits          553      614      +61     
+ Misses         42       37       -5     
  Partials        9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ersachin3112
Copy link
Contributor Author

ersachin3112 commented Jul 24, 2025

updating snapshots creates a new file on its own causing lint and snapshot failure
@alexander-akait @snitin315
Screenshot 2025-07-25 at 2 42 33 PM

@alexander-akait
Copy link
Member

Do we use old? If no just remove them

@ersachin3112
Copy link
Contributor Author

Do we use old? If no just remove them

yes, we are using both.
fixed in bfdcb13

.cspell.json Outdated
@@ -52,6 +52,7 @@
"*.webp",
"node_modules",
"coverage",
"*.log"
"*.log",
"test/lock-files/url/**"
Copy link
Member

Choose a reason for hiding this comment

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

Let's save it in test/outputs, we are ignoring this path by default - https://github.com/webpack/eslint-config-webpack/blob/main/ignore-paths.js#L55C8-L55C15, just change a test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2025-07-26 at 8 58 24 PM we need to ignore it in cspell.json

.prettierignore Outdated
CHANGELOG.md
test/lock-files/url/**
Copy link
Member

Choose a reason for hiding this comment

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

And remove it from here

Copy link
Contributor Author

@ersachin3112 ersachin3112 Jul 26, 2025

Choose a reason for hiding this comment

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

Screenshot 2025-07-26 at 8 56 11 PM we need to ignore it in prettier too


export default defineConfig([
{
ignores: ["test/lock-files/url/**"],
Copy link
Member

Choose a reason for hiding this comment

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

And here

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