FHIR / sushi

SUSHI (aka "SUSHI Unshortens Short Hand Inputs") is a reference implementation command-line interpreter/compiler for FHIR Shorthand (FSH).
Apache License 2.0
145 stars 44 forks source link

Upgrade ESLint and Prettier #1496

Closed cmoesel closed 2 months ago

cmoesel commented 2 months ago

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

cmoesel commented 2 months ago

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!