HAML-Lint

276276

Language / Framework: Haml
Categories: Style, Complexity, Clarity, Bug Risk, Compatibility
HAML-Lint Version: 0.28.0

HAML-Lint is a tool to help keep your HAML files clean and readable.

codeclimate-haml-lint is a Code Climate engine that wraps haml-lint. You can run it on your command line using the Code Climate CLI or on Code Climate's hosted analysis platform.

Enable the Engine

To enable HAML-Lint analysis on Code Climate's hosted platform, add the following to your .codeclimate.yml configuration file:

plugins:
  haml-lint:
    enabled: true

More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate

Understand the Engine

The official Haml-Lint documentation has information about each of the checks the tool performs on your Haml templates.

You may configure your haml-lint analysis with a .haml-lint.yml configuration file committed to your repository: https://github.com/brigade/haml-lint#configuration