Closed kevinburkeshyp closed 8 years ago
yeah, unfortunately the eslint stuff only works on node 0.10 and above (hence it not being part of the normal install/test commands). If you can come up some wrappers that only run the install+lint stuff for the correct versions I'm happy to merge this into master.
Once we bump the major version the linting will become non-optional as we'll probably drop support for anything less than node v4
Alright, added a conditional that checks for v0.10 or higher.
Ping :)
finally merged it! thanks :-)
This will fail new builds/PR's if they fail to conform to the style guide. Fixes the one line that was not conforming to the style guide.
If you
npm run
a command,npm
prints a big long spiel to the command line about how it's not responsible for the failure (example: https://travis-ci.org/Shyp/node-pool/jobs/111683457#L566). We may want to just run the commands directly (via./node_modules/.bin/eslint ...
) instead of callingnpm run
.