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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -0
  3. data/config/default.yml +5 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71f21623d90a90077e90041b1d6e40482d12bca2a6b6d71eff00f9e58afa0a87
4
- data.tar.gz: 335df090766fddd40815805d64740de67af592293230c966a4090675916c59c9
3
+ metadata.gz: 777618c757eb7018d5ce406c7e50a76359aa0ed4f3357c7f3aad3854cce38608
4
+ data.tar.gz: 2cae49b0f7bef3cbd59ec3698eebee3e250c2e8147d5f5b887e229a1b7a877b6
5
5
  SHA512:
6
- metadata.gz: 718d37ebea56c4fe4cf92ed1d5ac8f548bf24019a7c7bb18a509e54f87a7395b56407a311ac60ebd9d466b5c2483f70125666d5976c474f23223a29930f50bc1
7
- data.tar.gz: 100cd4e9843896164b74e244e6b6799e72ca41e9b05422995d43f57738c15046187ab85ffadff29c0faf103dbcbce02575b2e35ebea09ef6a15cef7339f0ebb7
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/ClassAndModuleChildren:
48
+ Style/AccessModifierDeclarations:
49
49
  Enabled: false
50
50
 
51
- Style/AccessModifierDeclarations:
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.1.2
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: 2020-12-14 00:00:00.000000000 Z
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.1.4
129
+ rubygems_version: 3.2.33
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: RuboCop Standard