0.01
No commit activity in last 3 years
No release in over 3 years
A Guard plugin to lint your .scss files using scss_lint. SCSS Lint changed from scss-lint to scss_lint and this is the guard update for that.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Gem Version Dependency Status Build Status Coverage Status Code Climate

guard-scss_lint

A guard to lint your SCSS.

This guard plugin is a fork of the originally created guard-scss-lint plugin by Chris LoPresto. This version has been modified to conform to the ruby gems naming standard as well as supports the latest versions of Scss Lint.

Installation

Please make sure you have Guard installed before continue.

Add guard-scss_lint to your Gemfile:

group :development do
  gem 'guard-scss_lint'
end

and then execute:

$ bundle install

or install it yourself as:

$ gem install guard-scss_lint

Add the default Guard::ScssLint definition to your Guardfile by running:

$ guard init scss_lint

Usage

Please read the Guard usage documentation.

Options

You can pass some options in Guardfile like the following example:

guard :scss_lint, all_on_start: false, config: '.custom-scss-lint.yml' do
  # ...
end

Available Options

all_on_start: true    # Check all files at Guard startup.
                      #  default: true
config: 'filename'    # Location of custom scss lint configuration file.
                      #  default: nil (Uses .scss-lint.yml file or SCSSLint defaults)

## 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

## License

Copyright (c) 2015 Chris Rohr

See the [LICENSE](LICENSE) for details.