Documentation ¶
Overview ¶
joker reads from io.Reader's and comments on diffs inline on github. Usage:
joker -repo=douchejs \ -owner=superjsdev2015 \ -token={token} \ -commit=`git describe --always` \ -scanner=jshint \ jsxhint --harmony .
You can add more analyzers, checkout sevki.org/joker/analyzers for interface definition for analyzers.
http://sevki.org/joker/analyzers/jshint is a reference implementation of what a analyzer should look like.
This app should be run by a CI after you've pushed your changes because its sole function is to comment on diffs.
Create a token by going to http://github.com/settings/tokens/new
Available analyzers are golint, todo, jshint
Directories ¶
Path | Synopsis |
---|---|
Package analyzers define how analyzers should act.
|
Package analyzers define how analyzers should act. |
golint
Package golint is a go lint analyzer.
|
Package golint is a go lint analyzer. |
jshint
Package jshint is a wrapper around `jshint` and `jsxhint` cmdlets, to install them: npm install -g jshint they should be present in `$PATH`.
|
Package jshint is a wrapper around `jshint` and `jsxhint` cmdlets, to install them: npm install -g jshint they should be present in `$PATH`. |
todo
Package todo analyzes changed files for TODO messages.
|
Package todo analyzes changed files for TODO messages. |
Click to show internal directories.
Click to hide internal directories.