- All unit tests are passed.
- There is not linting error.
- Good code quality.
- Meaningful names of
class
, variable and functions. - Using full name rather than abbreviation.
- Using appropriate data structure.
- Meaningful names of
If you want to run all the unit test, you can run:
$ npm test
If you want to run test which matches certain patterns, you can run:
$ npm test -- <pattern>
For example.
$ npm test -- receptionist
You can use the following command to check if your code violates the coding standard:
$ npm run lint