0.1.4 • Published 9 years ago

auditorjs v0.1.4

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

Auditor.js

A auditor for the project

CLI version

Coming soon

Usage

var Auditor = require('auditorjs');

new 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/hooks
ln -s ../../node_modules/auditorjs/bin/auditor pre-commit
chmod +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"
    }
}
0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago