0.0
No commit activity in last 3 years
No release in over 3 years
Automatically run sass-lint on your SASS
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0

Runtime

 Project Readme

Dependency Status Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

MIT License

See the LICENSE.txt for details.