Hello, I noticed the lint in CI raised an error, I fixed this.
Meanwhile, I noticed the eslint config now doesn't support parse and lint typescript code, so I added related support.
I have used yarn lint --fix to auto-fix the lint error/warning under src, so don't worry if you see many codes are changed, they are only the style change, no harm to the functionality.
Updates Summary
[x] Add ts lint support
[x] Fix jest testcases
[x] CI - update node image to 18(support esm) / remove puppeteer env install
Hello, I noticed the lint in CI raised an error, I fixed this.
Meanwhile, I noticed the eslint config now doesn't support parse and lint typescript code, so I added related support.
I have used
yarn lint --fix
to auto-fix the lint error/warning under src, so don't worry if you see many codes are changed, they are only the style change, no harm to the functionality.Updates Summary
Thanks, please help to review.