rubocop-standard 5.1.2 → 5.2.0
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/README.md +22 -0
- data/config/default.yml +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 777618c757eb7018d5ce406c7e50a76359aa0ed4f3357c7f3aad3854cce38608
|
|
4
|
+
data.tar.gz: 2cae49b0f7bef3cbd59ec3698eebee3e250c2e8147d5f5b887e229a1b7a877b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58c8a2183d2db801d59f920e76dae2a67a21f3f5d9aa9c5b81276a11a3a934a14e13b017a492fb4f28366cf019d78de11d492880ee715daa35e609dfd45a7c3d
|
|
7
|
+
data.tar.gz: 323ea1afecdb7b1e4766987e26c483a6a3e561ef7670e265f6c0ee8de878fe4efec20900b732b3810614e1cd539ce48f78ce431ff8826521606467f473691fc0
|
data/README.md
CHANGED
|
@@ -20,3 +20,25 @@ gem "rubocop-standard"
|
|
|
20
20
|
require:
|
|
21
21
|
- rubocop-standard
|
|
22
22
|
```
|
|
23
|
+
|
|
24
|
+
## How to use it?
|
|
25
|
+
|
|
26
|
+
In your .rubocop.yml file, just write:
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
inherit_gem:
|
|
30
|
+
rubocop-standard:
|
|
31
|
+
- config/default.yml
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
By default, `rubocop-performance` and `rubocop-rake` rules are enforced, because it's assumed that every project cares about these two sets.
|
|
35
|
+
|
|
36
|
+
This gem also has `rubocop-minitest` and `rubocop-rails` as dependencies, so you can simply add those in when you care about them:
|
|
37
|
+
|
|
38
|
+
```yaml
|
|
39
|
+
inherit_gem:
|
|
40
|
+
rubocop-standard:
|
|
41
|
+
- config/default.yml
|
|
42
|
+
- config/minitest.yml
|
|
43
|
+
- config/rails.yml
|
|
44
|
+
```
|
data/config/default.yml
CHANGED
|
@@ -45,15 +45,18 @@ Metrics/PerceivedComplexity:
|
|
|
45
45
|
Rake/Desc:
|
|
46
46
|
Enabled: false
|
|
47
47
|
|
|
48
|
-
Style/
|
|
48
|
+
Style/AccessModifierDeclarations:
|
|
49
49
|
Enabled: false
|
|
50
50
|
|
|
51
|
-
Style/
|
|
51
|
+
Style/ClassAndModuleChildren:
|
|
52
52
|
Enabled: false
|
|
53
53
|
|
|
54
54
|
Style/Documentation:
|
|
55
55
|
Enabled: false
|
|
56
56
|
|
|
57
|
+
Style/HashSyntax:
|
|
58
|
+
Enabled: false
|
|
59
|
+
|
|
57
60
|
Style/StringLiterals:
|
|
58
61
|
Enabled: true
|
|
59
62
|
EnforcedStyle: single_quotes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-12-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
126
|
- !ruby/object:Gem::Version
|
|
127
127
|
version: '0'
|
|
128
128
|
requirements: []
|
|
129
|
-
rubygems_version: 3.
|
|
129
|
+
rubygems_version: 3.2.33
|
|
130
130
|
signing_key:
|
|
131
131
|
specification_version: 4
|
|
132
132
|
summary: RuboCop Standard
|