quipper-rubocop-config 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -2
- data/config/rubocop.yml +8 -1
- data/lib/quipper/rubocop/config/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0578b57e842fe8c3699a03c00babb4b16f2e04a09093aadc3f5e30a743ab73d8'
|
4
|
+
data.tar.gz: cb1204931b7c5db880e3c9ebebf621baa68909dc279b128da49cc576e589b19f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc443516861c123df284a55c590f0d8ef1ced36ee50aa14988d9eae2150200e48bb302547d2cdd08ab3241a80c8b03f708b26cca59c6364ea8a3f89d88e32521
|
7
|
+
data.tar.gz: 1a0b22d9b1f48580ecd9a171a48c8e7361127e27d6a4dc72388f27309e1b56f81badd3c2948112daefaa6f3220623f29020826e7c9ac73b9737b0a9c6a11c9dc
|
data/README.md
CHANGED
@@ -7,7 +7,15 @@ Adds Rubocop and holds the default rubocop config for Quipper that can be shared
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'quipper-rubocop-config'
|
10
|
+
gem 'quipper-rubocop-config', path: 'vendor/quipper/quipper-rubocop-config', require: false
|
11
|
+
|
12
|
+
```
|
13
|
+
|
14
|
+
And then make symlink:
|
15
|
+
|
16
|
+
```sh
|
17
|
+
cd vendor/quipper/
|
18
|
+
ln -s path/to/quipper-rubocop-config quipper-rubocop-config
|
11
19
|
```
|
12
20
|
|
13
21
|
And then execute:
|
@@ -27,7 +35,7 @@ Which will automatically install the `.rubocop.yml` which holds the configs.
|
|
27
35
|
|
28
36
|
Additionally if this is being installed into a legacy repo or one that already has a lot of files (and thus rubocop errors) you can run:
|
29
37
|
|
30
|
-
`$ bundle exec quipper-rubocop-config --with_todo`
|
38
|
+
`$ bundle exec quipper-rubocop-config install --with_todo`
|
31
39
|
|
32
40
|
This installs the `.rubocop_todo.yml` file which lists the rules that are currently broken but which you might want to fix later and tells rubocop to ignore them for now.
|
33
41
|
|
data/config/rubocop.yml
CHANGED
@@ -22,4 +22,11 @@ Naming/PredicateName:
|
|
22
22
|
Enabled: false
|
23
23
|
|
24
24
|
Style/EmptyCaseCondition:
|
25
|
-
Enabled: false
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Layout/AlignHash:
|
28
|
+
EnforcedHashRocketStyle: table
|
29
|
+
EnforcedColonStyle: table
|
30
|
+
|
31
|
+
Style/AccessModifierDeclarations:
|
32
|
+
EnforcedStyle: inline
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quipper-rubocop-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Terry
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -115,7 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.7.10
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: Quipper's rubocop config
|