rubocop-inhouse 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -9
- data/config/default.yml +1 -0
- data/config/rails.yml +1 -0
- data/config/rspec.yml +0 -5
- data/config/style.yml +1 -3
- data/lib/rubocop/inhouse/version.rb +1 -2
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87fde93099c9be23e9ec32f96dc58865e92a2d4a3efd826c95bdeabac51e0e64
|
4
|
+
data.tar.gz: 047fe0d9e0c0b6de43f4ef9b83a4d25049cb153e97e096cc8a409ea6f639aaa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4bdc437be8069352135bfd0f355a494a69d6e0e3b4e2ec2b76941f072251325732c178106c24d4f4424ae22ea94b3a5ba8d21ff8a2676a47620c1b15a6a7aaf
|
7
|
+
data.tar.gz: 2ee8a08246da3aa0cd7c8c38775589cae26c5875a615c165d9a4131d26e687d3ccab8e253dad273123b2b9ea31b9e612d224b9263be5be03b6148e5028a3d0f7
|
data/README.md
CHANGED
@@ -19,21 +19,17 @@ Inherit all of the stylistic rules and cops through an inheritance declaration
|
|
19
19
|
in your `.rubocop.yml`:
|
20
20
|
|
21
21
|
```yaml
|
22
|
-
|
22
|
+
require:
|
23
|
+
- rubocop-inhouse
|
23
24
|
inherit_gem:
|
24
25
|
rubocop-inhouse:
|
25
26
|
- config/default.yml # generic Ruby rules and cops
|
26
27
|
- config/rails.yml # Rails-specific rules and cops
|
27
|
-
```
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
AllCops:
|
30
|
+
NewCops: enable
|
31
31
|
|
32
|
-
|
33
|
-
# .rubocop.yml
|
34
|
-
require:
|
35
|
-
- rubocop-inhouse # generic Ruby cops only
|
36
|
-
- rubocop-inhouse-rails # Rails-specific cops only
|
32
|
+
# The rest of your overrides here
|
37
33
|
```
|
38
34
|
|
39
35
|
For more granular control over which of RuboCop's rules are enabled for your
|
data/config/default.yml
CHANGED
data/config/rails.yml
CHANGED
data/config/rspec.yml
CHANGED
data/config/style.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-inhouse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nolan J Tait
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-factory_bot
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.2'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rubocop-performance
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +108,20 @@ dependencies:
|
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '2.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-rspec_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.2'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.2'
|
97
125
|
description: This is the rubocop configuration we use at inhouse.work for all our
|
98
126
|
projects
|
99
127
|
email:
|
@@ -141,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
169
|
- !ruby/object:Gem::Version
|
142
170
|
version: '0'
|
143
171
|
requirements: []
|
144
|
-
rubygems_version: 3.5.
|
172
|
+
rubygems_version: 3.5.9
|
145
173
|
signing_key:
|
146
174
|
specification_version: 4
|
147
175
|
summary: Rubocop configuration for InHouse projects
|