-
Notifications
You must be signed in to change notification settings - Fork 146
chore: update to eslint v9 #955
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
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #955 +/- ##
=======================================
Coverage 83.87% 83.87%
=======================================
Files 68 68
Lines 2908 2908
Branches 367 367
=======================================
Hits 2439 2439
Misses 409 409
Partials 60 60 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Ran into a couple roadblocks, holding off the styling fixes for now as the PR would be mega |
@06kellyjac let me know if you need a review on this once conflicts have been resolved |
@06kellyjac if you could rebase this I think we should get it merged |
3b9ef07
to
8de0f3d
Compare
Linting results should also show in CI. Some of the comment ignores weren't relevant anymore after prettier fixes. And if they were, rules that prettier handles will be ignored by eslint now to prevent fighting. Some of the removed ignores don't apply anymore. Some like |
8d1c85b
to
523257c
Compare
523257c
to
1b1a91e
Compare
@06kellyjac this looks good. However I note we get a few linting errors I'm wondering about:
Should we be switching those to use promise chaining or disable that rule? Thinking about that example, the |
They're raising problems we should be resolving so I'm inclined to keep them on & once resolved remove the item from the config to default back to "error" so we don't get any more cases |
Signed-off-by: Kris West <kristopher.west@natwest.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've raised #1212 to resolve some of the check annotations reported.
Replaces #890
Replaces #893
Raises some warnings but fixing them isn't possible without formatting many files.
I'll do that in another PR.