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.

The engine will automatically pick up checkstyle.json configuration if it’s available in the root directory.

It’s highly recommended to define your own set of rules in the configuration file based on the needs of your project.

Example .codeclimate.yml

Below is an example .codeclimate.yml with haxe-checkstyle engine enabled.

engines:
  haxe-checkstyle:
    enabled: true

exclude_paths:
  - test/**/*

ratings:
  paths:
    - "**.hx"

You can add multiple engines in .codeclimate.yml.

Click here for more information on excluding files and folders.

Click here to see how ratings work.

GitHub Integration

Immediate results, right in your pull requests.

img

More information: