nodejs-starter-boilerplate icon indicating copy to clipboard operation
nodejs-starter-boilerplate copied to clipboard

Setup Tooling

Open manjufy opened this issue 4 years ago • 0 comments

Set up the following tooling in the repo

TOOLING

  • eslint - for linting
  • nyc - for code coverage
  • pre-push - for git pre push hook running tests
  • ~~winston` - for logging~~

CRITERIA

  • eslint should have an opinionated format
  • nyc should aim for test coverage of 80% across lines, statements, and branches
  • pre-push should run the tests before allowing pushing using git
  • winston should be used to replace console logs and all errors should be logged as well. Logs should go to disk.
  • integration to CI such as Travis or Circle
  • Add Typescript support

manjufy avatar Sep 17 '20 02:09 manjufy