Skip to content

Updated version of chrislopresto/guard-scss-lint that uses latest version of Scss Lint and new naming convention

License

Notifications You must be signed in to change notification settings

chrisrohr/guard-scss_lint

Repository files navigation

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.

About

Updated version of chrislopresto/guard-scss-lint that uses latest version of Scss Lint and new naming convention

Resources

License

Stars

Watchers

Forks

Packages

No packages published