rubocop-standard 5.1.2 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -0
- data/config/default.yml +8 -4
- data/config/rails.yml +7 -0
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '099eab21525ca0822cc7cfe85e4514e42de76769a6f70a7c5e2416269dbf9ef3'
|
4
|
+
data.tar.gz: 6e0ad2906a011040efb70e122ba81be566b25619a0744007b05b63e74ed7cb1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaec4b0610312d5936f1a4f622deb55bb83c5cbb4aac9bb5381294856f89fe643a1a9a5e93aea778201067306d36697ca4a374a32d19b2b9eda2338ca8f2b75a
|
7
|
+
data.tar.gz: d1950ca03208e5aafc1de796376dcdba645d6979e461f53996956f159424406b43984d063d058e0f385affc08945e1c30a6c1c36f874c06f6d8eb5eaa3dfc8f7
|
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
@@ -3,6 +3,8 @@ require:
|
|
3
3
|
- rubocop-rake
|
4
4
|
|
5
5
|
AllCops:
|
6
|
+
DisplayCopNames: true
|
7
|
+
DisplayStyleGuide: true
|
6
8
|
NewCops: enable
|
7
9
|
Exclude:
|
8
10
|
- bin/**/*
|
@@ -45,15 +47,17 @@ Metrics/PerceivedComplexity:
|
|
45
47
|
Rake/Desc:
|
46
48
|
Enabled: false
|
47
49
|
|
48
|
-
Style/
|
50
|
+
Style/AccessModifierDeclarations:
|
49
51
|
Enabled: false
|
50
52
|
|
51
|
-
Style/
|
53
|
+
Style/ClassAndModuleChildren:
|
52
54
|
Enabled: false
|
53
55
|
|
54
56
|
Style/Documentation:
|
55
57
|
Enabled: false
|
56
58
|
|
59
|
+
Style/HashSyntax:
|
60
|
+
Enabled: false
|
61
|
+
|
57
62
|
Style/StringLiterals:
|
58
|
-
|
59
|
-
EnforcedStyle: single_quotes
|
63
|
+
EnforcedStyle: double_quotes
|
data/config/rails.yml
CHANGED
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:
|
4
|
+
version: 6.0.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: 2022-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -110,7 +110,8 @@ files:
|
|
110
110
|
homepage: https://github.com/gjtorikian/rubocop-standard
|
111
111
|
licenses:
|
112
112
|
- MIT
|
113
|
-
metadata:
|
113
|
+
metadata:
|
114
|
+
rubygems_mfa_required: 'true'
|
114
115
|
post_install_message:
|
115
116
|
rdoc_options: []
|
116
117
|
require_paths:
|
@@ -119,14 +120,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
120
|
requirements:
|
120
121
|
- - ">="
|
121
122
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
123
|
+
version: 2.7.0
|
124
|
+
- - "<"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 4.0.0
|
123
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
128
|
requirements:
|
125
129
|
- - ">="
|
126
130
|
- !ruby/object:Gem::Version
|
127
131
|
version: '0'
|
128
132
|
requirements: []
|
129
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.3.7
|
130
134
|
signing_key:
|
131
135
|
specification_version: 4
|
132
136
|
summary: RuboCop Standard
|