rubocop-config-coverhound 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/default.yml +16 -21
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9467ff1b330e138f85cdd60d52dd3e9f6272a7e
4
- data.tar.gz: 7342010a84ab151a5f61c4e6ece1fa7452cb5b3c
3
+ metadata.gz: 9bbd4108924a92a1d1ff9ab89c05a93bce2b759f
4
+ data.tar.gz: 91646cbbef96f10a3863e7c153cec54624a56e32
5
5
  SHA512:
6
- metadata.gz: c7b39889c460959d7f4a07b2edca32d83ee10d27650fe4d6f9a8fe88b3ac3fd3dddb9ac532c508c508f1f0c0886860050a7601eda70b356fd1bc8b0d17fc22ba
7
- data.tar.gz: 5f222f1a1de4a559378dd1a97ec39a58b0740f10cf92e34b4ecf40d2204116ca681f3c02ceabccf75c82b756fa44d627bb57f9dc1590680a56a941b7c7991f71
6
+ metadata.gz: 5542515312aea281dd79cb4105c3c147857079970e5bfa36fe26db45d01661bd21dbac7467bd295bbefd68d2bba4d40551ad9396b16fd28890ca19516afecac1
7
+ data.tar.gz: 8692f545cc21b502ba9101ad42a88656dd6d1b9c831b790025367333b43101c2cc6c02152ff6cc2656463a7ca612096bf80b88aca85ca499d4a76c454499ba34
data/default.yml CHANGED
@@ -70,9 +70,6 @@ Lint/AmbiguousOperator:
70
70
  Lint/UnneededSplatExpansion:
71
71
  Enabled: false
72
72
 
73
- Lint/Void:
74
- Enabled: false
75
-
76
73
  # ========================================
77
74
  # METRICS
78
75
  # ========================================
@@ -90,12 +87,6 @@ Metrics/LineLength:
90
87
  Metrics/MethodLength:
91
88
  Max: 20
92
89
 
93
- # ========================================
94
- # NAMING
95
- # ========================================
96
- Naming/VariableNumber:
97
- Enabled: false
98
-
99
90
  # ========================================
100
91
  # STYLE
101
92
  # ========================================
@@ -122,21 +113,25 @@ Style/DoubleNegation:
122
113
  Style/FrozenStringLiteralComment:
123
114
  Enabled: false
124
115
 
125
- # We feel this rule is too strict
126
- Style/PercentLiteralDelimiters:
127
- Enabled: false
128
-
129
- Style/SignalException:
130
- Enabled: false
131
-
116
+ # While we prefer single quotes for require and gem statements, it's
117
+ # easier to read code with a more consistent style
132
118
  Style/StringLiterals:
133
- Enabled: false
134
-
135
- Style/TrailingCommaInArguments:
136
- Enabled: false
119
+ EnforcedStyle: double_quotes
137
120
 
121
+ # In order to have better diffs, we prefer having trailing commas:
122
+ #
123
+ # [
124
+ # :one,
125
+ # :two,
126
+ # :three,
127
+ # ]
128
+ #
138
129
  Style/TrailingCommaInLiteral:
139
- Enabled: false
130
+ EnforcedStyleForMultiline: comma
131
+
132
+ # See ^
133
+ Style/TrailingCommaInArguments:
134
+ EnforcedStyleForMultiline: comma
140
135
 
141
136
  # This can be worse for diffs if we know it's variable
142
137
  Style/WordArray:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-config-coverhound
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo Farah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop