Skip to main content

Linters for Javascript/Typescript

After you run the init script, your repo has been initialised with Linters and Static checkers for all your assignments.

Know more about what linters are here

For Javascript/Typescript Assignments there's primarily 1 tool involved -

info

The Javascript/Typescript Assignments use Jest and Cypress for running the test suites. You can explore more about Jest here and Cypress here

tip

While these linters and tests would be run before each commit, you can manually run them and avoid the committing loop by executing -

npm run lint #For linting checks
npm run test #For running tests