| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-09-27 | pre-commit: Remove unnecessary commented linesHEADmaster | Teddy Wing | |
| Remove leftovers from the git sample pre-commit hook that we don't really need in this script. | |||
| 2015-09-27 | Add JavaScript linting and tests | Teddy 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. | |||
| 2015-09-25 | Create 'pre-commit', add Python tests | Teddy Wing | |
| * Create our 'pre-commit' hook script that runs flake8 on Python files in the staging area. * Update test setup to create a git repository for testing. * Add a test for the Python linter to confirm that it produces the correct output when trying to commit and that it only checks files in the staging index. | |||
