GoodEWorkers / goodeworkers.org

Home page of the website
MIT License
0 stars 0 forks source link

Feature/#23 typescript #25

Closed jc3lee closed 5 months ago

jc3lee commented 5 months ago

Summary of changes:

And with that, typescript has been successfully integrated πŸ˜ƒ.

That took 10% of the time, the remaining 90% was on figuring out how to add eslint typescript. The hardest part was making eslint work on react js, jsx files while using typescript linting only on ts and tsx files. It's my first time setting eslint if you've found issues or have suggestions, I'm all ears πŸ™‰. I've annoted the changes but please tell me if you have any questions. Here are the edits I did on eslintrc:

And with that, we've got linting on both javascript and typescript files!

netlify[bot] commented 5 months ago

Deploy Preview for goodeworkers ready!

Name Link
Latest commit a251db2fc184c0b3ba81eb96e8a516c98059185f
Latest deploy log https://app.netlify.com/sites/goodeworkers/deploys/660e727012b3dc0008bab7c1
Deploy Preview https://deploy-preview-25--goodeworkers.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.

jc3lee commented 5 months ago

Fixed the deploy preview issue: because of the cache from gatsby-adapter-netlify, even running gatsby clean doesn't clean netlify's cache. Instead I had to revert gatsby-config.ts back to gatsby-config.js