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

Upgrade ESLint and Prettier #1496

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Upgrade ESLint and Prettier #1496

merged 2 commits into from
Jul 23, 2024

Conversation

cmoesel
Copy link
Member

@cmoesel cmoesel commented Jul 22, 2024

Description: Upgrade ESLint and Prettier to their latest versions. ESLint 9.x is a major update which requires a new configuration file format as well as using an 8.0.0 alpha version of @typescript-eslint. This upgrade resulted in new linting and prettier violations being reported, so this PR also fixes those new violations (several of which were real bugs).

Testing Instructions: Run npm run check to ensure that lint, prettier, and tests all pass.

Related Issue: N/A

ESLint is a major update which required a new configuration file format as well as using an 8.0.0 alpha version of @typescript-eslint.

Also fixed all violations reported by updated ESLint and Prettier.
mint-thompson
mint-thompson previously approved these changes Jul 22, 2024
Copy link
Collaborator

@mint-thompson mint-thompson left a comment

Choose a reason for hiding this comment

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

Everything works fine on my system. Glad that this caught some existing problems!

Copy link
Collaborator

@jafeltra jafeltra left a comment

Choose a reason for hiding this comment

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

Whoa, FlatCompat is cool! And very cool (and mildly concerning) there were so many bugs. But this looks good to me now!

@cmoesel
Copy link
Member Author

cmoesel commented Jul 23, 2024

Whoa, FlatCompat is cool! And very cool (and mildly concerning) there were so many bugs. But this looks good to me now!

Yeah. I got that for free. For future reference, if you need to upgrade to ESLint 9, this is the easiest path: npx @eslint/migrate-config .eslintrc!

@cmoesel cmoesel merged commit 00415f1 into master Jul 23, 2024
14 checks passed
@cmoesel cmoesel deleted the update-eslint-prettier branch July 23, 2024 13:39
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.

3 participants