Automated code analysis ideal for projects that want to enforce a coding standard.

To install, run:

haxelib install checkstyle 2.4.1 

See using Haxelib in Haxelib documentation for more information.


License Release Build Status Codecov Code Climate Code Climate Issues Gitter chat

Haxe Checkstyle is a static analysis tool to help developers write Haxe code that adheres to a coding standard.

It automates the process of checking Haxe code to spare developers of this boring (but important) task.

Code conventions improve readability, allowing team members to understand each other's code better.

Ideal for any project that wants to enforce coding conventions.

Static analysis is usually performed as part of a code review.

Code Climate

Haxe Checkstyle is available on the Code Climate platform (free for open source projects). It requires a .codeclimate.yml file and an optional but recommended checkstyle.json file to be added to the root of your repository - see here for more details.

When everything is set up, Code Climate automatically runs Haxe Checkstyle for you on each new commit (also on pull requests if configured that way).

The current number of issues can be tracked via a badge:

Code Climate

Immediate results, right in your pull requests.



haxelib install checkstyle

Basic Usage

haxelib run checkstyle -s src

Automatic detection of your coding style (experimental)

haxelib run checkstyle -s src -detect detectedCheckstyle.json


More information and reference.

Issues Stories in Ready

Found any bug? Please create a new issue.


Licensing Information

This content is released under the MIT license.

This project was derived from haxelint created by @mcheshkov.

Contributor Code of Conduct

Code of Conduct is adapted from Contributor Covenant, version 1.4

1 week ago

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser!

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github