Guard::Sass::Lint
guard-sass-lint automatically checks your SCSS code style with sass-lint when files are modified.
Installation
Add this line to your application's Gemfile:
group :development do
gem 'guard-sass-lint'
end
And then execute:
$ bundle install
Or install it yourself as:
$ gem install guard-sass-lint
Usage
Please read the Guard usage documentation.
Options
You can pass some options in Guardfile
like the following example:
guard :sasslint, run_at_start: true do
watch(%r{.+\.scss$})
end
Available Options
run_at_start: true # Check all files at Guard startup.
# default: false
config: 'filepath' # Filepath to your sass-lint.yml config
# default: sass-lint/docs/sass-lint.yml
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
MIT License
See the LICENSE.txt for details.