[NOT MAINTAINED, check haxe-checkstyle] Static analysis and style checking for Haxe in Haxe
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis
bin
src/haxelint
test
.gitattributes
.travis.yml
README.md
build.hxml
haxelib.json

README.md

haxelint

Static analysis and style checking for Haxe in Haxe

Build Status

Install

From haxelib

haxelib install haxelint

Manually build

haxe build.hxml

Usage

From command line

haxelib run haxelint -s <HAXE SOURCES FILE OR DIR>

Run just haxelib run haxelint for help

Using API

var file = {name:"myfile.hx", content:"enum A{}"};
var checker = new haxelint.Checker();
checker.addReporter(new XMLReporter()); // see haxelint.reporter.IReporter, provide your own implementation
checker.addCheck(new Check()); // see haxelint.checks.Check class and subclasses
checker.process([file]);