Where possible, use TypeScript instead of JavaScript. Test your work with:

npx tsc --noEmit

It’s also nice to do the following lints and tests before making a pull request:

npm run format
npm run build