aboutsummaryrefslogtreecommitdiffstats
path: root/t/test.js
AgeCommit message (Collapse)Author
2015-09-27Add JavaScript linting and testsTeddy Wing
* Add sample malformed JavaScript files to lint on * In our tests, copy the `node_modules` directory to make `jshint` available, then validate that we're correctly linting the staged JS file * In our pre-commit hook, lint the staged JavaScript files. If either of our linting commands fail then exit 1 to abort the commit.