joker

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2015 License: BSD-3-Clause Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL