rubocop-standard 5.1.0 → 5.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fc7b0079a65fa4b081273c15ac9cbf4eed9a6e854546dae0117126627e9a6dd
4
- data.tar.gz: 9c94df6882879407f3f11c53214f9cb08089544862bcf1c8f602335ce853c8ca
3
+ metadata.gz: 371f8db7255a55a9068f8cc983204d4e8d3a267c4856f002406eae697d9b1913
4
+ data.tar.gz: a4e1ba87770c36cb967b3f90c047062cc57e57db6ead08a74a985b68c677ad14
5
5
  SHA512:
6
- metadata.gz: 84f6f29ee924941a47a409accd48ca3696f2de892a46e4616aa707558d433bcd8cf1a9ad8376b08aced2fe86710d80d97384f35e355f2c2567437db934e25da1
7
- data.tar.gz: '0187a6f62f06a1d64f485298c76870ffe9d203590ee3b17f9315df1ec32d06afa40fcc38b6028aa61625523713a845b3ea935129e80e56dd50c53c7aaa9c1c05'
6
+ metadata.gz: 5147f494e32c7953f25bfeb234e77e72d5bb84acab9cab867062c585c634ede0d007fab63b8e1dfeb42928cd82bbdcdf649573107b818bfcd565630f8687b053
7
+ data.tar.gz: cf608db3684b6f3feb8dcb1705d0b57994f5fb40e198ed07dbc7c7021e9c41acc11a12cff066dd60a04960b40d249781b8cad49f3bdeaff9eaf06ff47969f398
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
@@ -42,15 +42,21 @@ Metrics/ParameterLists:
42
42
  Metrics/PerceivedComplexity:
43
43
  Enabled: false
44
44
 
45
- Style/ClassAndModuleChildren:
45
+ Rake/Desc:
46
46
  Enabled: false
47
47
 
48
48
  Style/AccessModifierDeclarations:
49
49
  Enabled: false
50
50
 
51
+ Style/ClassAndModuleChildren:
52
+ Enabled: false
53
+
51
54
  Style/Documentation:
52
55
  Enabled: false
53
56
 
57
+ Style/HashSyntax:
58
+ Enabled: false
59
+
54
60
  Style/StringLiterals:
55
61
  Enabled: true
56
62
  EnforcedStyle: single_quotes
data/config/minitest.yml CHANGED
@@ -1,2 +1,5 @@
1
1
  require:
2
2
  - rubocop-minitest
3
+
4
+ Minitest/MultipleAssertions:
5
+ Enabled: false
data/config/rails.yml CHANGED
@@ -1,2 +1,9 @@
1
1
  require:
2
2
  - rubocop-rails
3
+
4
+ Rails/UnknownEnv:
5
+ Environments:
6
+ - development
7
+ - test
8
+ - staging
9
+ - production
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.0
4
+ version: 5.2.1
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-11 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