← Back to changelog

New analysis engine: Stylelint 🎩

We’re excited to introduce our latest community engine, thanks to awesome developer program member contributor Gil Barbara!

Stylelint is a modern CSS linter to help you enforce code style conventions and avoid errors in your stylesheets.

To enable Stylelint for your analysis on codeclimate.com or Code Climate Enterprise, add the following to your .codeclimate.yml configuration file:

        enabled: true
      - "**.css"
      - "**.less"
      - "**.scss"
      - "**.sss"

You can also enable the engine via the CLI with codeclimate engines:enable stylelint. This will create a default configuration file if you don’t have one already.

Stylelint has over 150 rules, all of which are completely configurable. Add it today and keep your CSS squeaky clean!

Actionable metrics for engineering leaders. Try Velocity Free