-
Notifications
You must be signed in to change notification settings - Fork 5
Update to ESLint v9.23.0 and modernize config #26
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
base: main
Are you sure you want to change the base?
Conversation
f1d0b18 to
8a7140a
Compare
8a7140a to
fdc68db
Compare
.github/workflows/test.yml
Outdated
| strategy: | ||
| matrix: | ||
| node-version: [12.x, 14.x, 16.x] | ||
| node-version: [18.18.x, 20.x] |
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.
Can we add 22.x here as well since it's the new LTS?
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.
Sure thing! Added.
fivetanley
left a comment
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.
Small request that could be broken out into an another PR if need be. great job! thank you!
This updates to the latest syntax for eslint 9.23, the version used by the latest ember-new-output. It also bumps node versions to match what is accepted by eslint. A lot of the changes are just config changes, but one rule (
lib/rules/a11y-audit-after-test-helper.js) was rewritten based on tests. It updates all files to usemjsextensions as well. This PR touches everything, and I'm not sure if there's a way around that. Open to suggestions!This has been tested in our consuming app, and works as expected using both the recommended config and a custom config. Would be great if other apps could test it out as well :)