Improve the quality of your scss with roger_scsslinter. This plugin for roger lints scss using scss-lint. If present, .scss-lint.yml
in your project root will be used. You can generate this with $ roger generate scsslint
, this will use the configuration from our (s)css styleguide. When this file is not present, scss-lint will walk the directory tree upwards in search for a .scss-lint.yml
file. As a last resort, default.yml is used.
-
Add
gem "roger_scsslint"
to your Gemfile -
Add this to your Mockupfile:
roger.test do |t|
t.use :scsslint
end
- Put a .scss-linter.yml in your project's root directory. You can use
$ roger generate scsslint
, to use ours.
Execute roger test scsslint
.
This project is released under the MIT license.