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:
engines: stylelint: enabled: true ratings: paths: - "**.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!