Pronto runner for stylelint, the mighty, modern CSS linter. What is Pronto?
Uses official stylelint executable installed by npm
.
Heavily inspired by doits/pronto-eslint_npm.
You'll need to install stylelint by yourself with npm. If stylelint
is in your PATH
, everything will simply work, otherwise you have to provide pronto-stylelint your custom executable path (see below).
Configuring stylelint via .stylelintrc and consorts and excludes via .stylelintignore will work just fine with pronto-stylelint.
pronto-stylelint can be configured by placing a .pronto_stylelint.yml
inside the directory where pronto is run.
Following options are available:
Option | Meaning | Default |
---|---|---|
stylelint_executable | stylelint executable to call. | stylelint (calls stylelint in PATH ) |
Example configuration to call custom stylelint executable:
# .pronto_stylelint.yml
stylelint_executable: '/my/custom/node/path/.bin/stylelint'