guard-sass-lint 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +36 -13
- data/lib/guard/sass/lint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3730ed8a5d760c2a4c9134f6bb63fcfd6a3ab7fa
|
4
|
+
data.tar.gz: 16254fd5c7cd9971579590cb895d66fb5cc6296f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7feb4489251c861dc093bda327f428d31bc7caeef235891ce40f1af7c9ea8c8602008fc72ec6c5a75d2f033029aa837a5abea15deeb8959f92feba5cbd535c52
|
7
|
+
data.tar.gz: f52e8f6a544db26c71beecb78274ef0ad85c3a4fc3b256ebffdf37faad4c166f41ea17f36583ec292c9a75959ce378168bafa43e7de9c7b0e979814f0cf7988e
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,20 +1,27 @@
|
|
1
|
-
|
1
|
+
<!--
|
2
|
+

|
3
|
+
-->
|
4
|
+
|
5
|
+
[](https://gemnasium.com/hansondr/guard-sass-lint)
|
6
|
+
[](https://travis-ci.org/hansondr/guard-sass-lint)
|
2
7
|
|
3
|
-
|
8
|
+
# Guard::Sass::Lint
|
4
9
|
|
5
|
-
|
10
|
+
**guard-sass-lint** automatically checks your SCSS code style with [sass-lint](https://github.com/sasstools/sass-lint) when files are modified.
|
6
11
|
|
7
12
|
## Installation
|
8
13
|
|
9
14
|
Add this line to your application's Gemfile:
|
10
15
|
|
11
16
|
```ruby
|
12
|
-
|
17
|
+
group :development do
|
18
|
+
gem 'guard-sass-lint'
|
19
|
+
end
|
13
20
|
```
|
14
21
|
|
15
22
|
And then execute:
|
16
23
|
|
17
|
-
$ bundle
|
24
|
+
$ bundle install
|
18
25
|
|
19
26
|
Or install it yourself as:
|
20
27
|
|
@@ -22,20 +29,36 @@ Or install it yourself as:
|
|
22
29
|
|
23
30
|
## Usage
|
24
31
|
|
25
|
-
|
32
|
+
Please read the [Guard usage documentation](https://github.com/guard/guard#readme).
|
33
|
+
|
34
|
+
## Options
|
35
|
+
|
36
|
+
You can pass some options in `Guardfile` like the following example:
|
26
37
|
|
27
|
-
|
38
|
+
```ruby
|
39
|
+
guard :sasslint, run_at_start: true do
|
40
|
+
watch(%r{.+\.scss$})
|
41
|
+
end
|
42
|
+
```
|
28
43
|
|
29
|
-
|
44
|
+
### Available Options
|
30
45
|
|
31
|
-
|
46
|
+
```ruby
|
47
|
+
run_at_start: true # Check all files at Guard startup.
|
48
|
+
# default: false
|
49
|
+
config: 'filepath' # Filepath to your sass-lint.yml config
|
50
|
+
# default: sass-lint/docs/sass-lint.yml
|
51
|
+
```
|
32
52
|
|
33
53
|
## Contributing
|
34
54
|
|
35
|
-
|
36
|
-
|
55
|
+
1. Fork it
|
56
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
57
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
58
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
59
|
+
5. Create new Pull Request
|
37
60
|
|
38
|
-
## License
|
61
|
+
## MIT License
|
39
62
|
|
40
|
-
|
63
|
+
See the [LICENSE.txt](LISCENSE.txt) for details.
|
41
64
|
|