GoodEWorkers / goodeworkers.org

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

Feature/#23 typescript #24

Closed jc3lee closed 7 months ago

jc3lee commented 7 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. 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 7 months ago

Deploy Preview for goodeworkers failed.

Name Link
Latest commit ca06360e7c6e5148e92f2625d0b2aa7ff23541ab
Latest deploy log https://app.netlify.com/sites/goodeworkers/deploys/660e6b794146a30008351e1b
jc3lee commented 7 months ago

I'm closing this PR for now to fix the error in Netlify Preview: error: Your "gatsby-config.ts" file failed to compile to "gatsby-config.js". Please run "gatsby clean" and try again.

jc3lee commented 7 months ago

added "gatsby clean" to clean netlify preview cache