A Code Climate engine for the mighty, modern CSS linter
CSS JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config/contents
test
.codeclimate.yml
.dockerignore
.editorconfig
.eslintrc
.gitignore
.stylelintrc
.travis.yml
Dockerfile
Makefile
README.md
engine.json
package.json

README.md

Code Climate Stylelint Engine

Code Climate

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

Stylelint is a tool to help you enforce consistent conventions and avoid errors in your stylesheets. It can be configured using a configuration file.

Installation

  1. If you haven't already, install the Code Climate CLI.
  2. Run codeclimate engines:enable stylelint. This command both installs the engine and enables it in your .codeclimate.yml file.
  3. Add a stylelint config file.
  4. You're ready to analyze! Browse into your project's folder and run codeclimate analyze.

Configuration Options

  • ignore_warnings: true|false (default false) - skip warnings with styletint quiet flag
  • config: Specify a relative path for the configuration file. (ex: config/.stylelintrc)

Config

Plugins

This engine has support for the recommended plugins:

If you need something else, please open an issue.

Need help?

For help with stylelint, check out their documentation.