Auditor.js
A auditor for the project
CLI version
Coming soon
Usage
var Auditor = ; command: 'git diff --cached --name-only --diff-filter=ACMR' linters: jscs: 'js' stylint: 'styl' plugins: '/path/to/plugins';
Usage pre-commit
Create pre-commit hook
cd .git/hooksln -s ../../node_modules/auditorjs/bin/auditor pre-commitchmod +x pre-commit
Config in package.json:
... "auditor": "command": "git diff --cached --name-only --diff-filter=ACMR" "linters": "jscs": "js" "stylint": "styl" "plugins": "/path/to/plugins"