inspecstyle 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -4
- data/lib/rubocop/cop/inspecstyle/deprecated_attributes.rb +1 -1
- data/lib/rubocop/inspecstyle/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcb9ee68a7dd29338399f6b60bbde2a0b1e74eb0e92729a7e3f217d3260f0a08
|
4
|
+
data.tar.gz: 1e91471f1ce7c21d657a1dffdeddb3d0f8fb277162e9ddc469655ae117e2216c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b0845a3f7b8fc29a3c37e7cf2afbfceb31135693757ab07a84c53e1f9966e70d61cff79118a42cf6c7fb80ed1c5dc58cd67f41f61f7300a86f34ec1ae53388e
|
7
|
+
data.tar.gz: d2b938a1bb46dac3a32d805b303a52606536d9a750459fae7afea3110b19d478f34ff59fc01fb9ef67ca6fae88b0e06b3be3f949be8f77f3276e9c7d8273b154
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# InSpecStyle
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/inspecstyle`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
@@ -22,7 +22,23 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
InSpecStyle integrates with rubocop to lint your InSpec code.
|
26
|
+
|
27
|
+
```yaml
|
28
|
+
#.rubocop.yml
|
29
|
+
require:
|
30
|
+
- inspecstyle
|
31
|
+
```
|
32
|
+
|
33
|
+
This gem must be installed to use the [InSpecStyle atom linter package](https://atom.io/packages/inspecstyle).
|
34
|
+
|
35
|
+
To only run these cops on your local rubocop run, execute:
|
36
|
+
|
37
|
+
`rubocop . --only InSpecStyle`
|
38
|
+
|
39
|
+
## TODO:
|
40
|
+
|
41
|
+
- Instead of referencing issues in the cops, point to a general `inspecstyle.guide`
|
26
42
|
|
27
43
|
## Development
|
28
44
|
|
@@ -32,7 +48,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
48
|
|
33
49
|
## Contributing
|
34
50
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
51
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/schwad/inspecstyle. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/schwad]/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
|
36
52
|
|
37
53
|
|
38
54
|
## License
|
@@ -41,4 +57,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
41
57
|
|
42
58
|
## Code of Conduct
|
43
59
|
|
44
|
-
Everyone interacting in the Rubocop::InSpecStyle project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
60
|
+
Everyone interacting in the Rubocop::InSpecStyle project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/schwad/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
|