color.js
color.js copied to clipboard
chore: upgrade to eslint 9.x
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:tsfails with a lot of errors. is that known to be broken? (inmain) - 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?
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.