color.js icon indicating copy to clipboard operation
color.js copied to clipboard

chore: upgrade to eslint 9.x

Open 43081j opened this issue 11 months ago • 1 comments

Upgrades ESLint and moves to the new flat config style.

Also fixes up some newly found lint errors/warnings and enables TSESLint's strict config.

I was roaming around the repo so figured I'd do this while I'm in there. if you don't want it, all good just let me know and we can close this 👍

Notes

  • Locally, for whatever reason, npm run build:ts fails with a lot of errors. is that known to be broken? (in main)
  • Do we need our own full blown config still? maybe we could use the recommended configs from ESLint, stylistic and tseslint
  • could we introduce a formatter like prettier or dprint, and drop stylistic?

43081j avatar Dec 27 '24 11:12 43081j

Deploy Preview for colorjs ready!

Name Link
Latest commit 9b6ef8dcfe1a127fc0563a1c691a49498534c292
Latest deploy log https://app.netlify.com/sites/colorjs/deploys/676e936c78251f0008174548
Deploy Preview https://deploy-preview-625--colorjs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Dec 27 '24 11:12 netlify[bot]