rubocop-config-umbrellio 0.49.1.1 → 0.49.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop.rails.yml +3 -14
- data/lib/rubocop.yml +25 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5338abc701f20e7cc811b022fe4a6587776263e
|
4
|
+
data.tar.gz: a75a50c966353ac42d3caf9d93249ffea4ccdca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 100d55b6206895574a45d4a5849fd5393590516b97b4294ff4b8a78527f5747aacf18909638b06809265f3d20a2bb95e2b8ef821861c0ae06e30dad9f14c2044
|
7
|
+
data.tar.gz: b68f0d10b4d51369a41c9402dd075b4eff04fcf3bf787960b39ed92d50a5dc4f4407211b828c590e2889eaef753adc9fad02015eade49801967ded2434f4bb07
|
data/lib/rubocop.rails.yml
CHANGED
@@ -53,26 +53,15 @@ Rails/SaveBang:
|
|
53
53
|
Enabled: true
|
54
54
|
|
55
55
|
Rails/SkipsModelValidations:
|
56
|
-
Enabled:
|
57
|
-
Blacklist:
|
58
|
-
- decrement!
|
59
|
-
- decrement_counter
|
60
|
-
- increment!
|
61
|
-
- increment_counter
|
62
|
-
- toggle!
|
63
|
-
- touch
|
64
|
-
# allow update_all
|
65
|
-
# - update_all
|
66
|
-
- update_attribute
|
67
|
-
- update_column
|
68
|
-
- update_columns
|
69
|
-
- update_counters
|
56
|
+
Enabled: false
|
70
57
|
|
71
58
|
# Style
|
72
59
|
|
73
60
|
Style/ClassAndModuleChildren:
|
74
61
|
Enabled: true
|
75
62
|
EnforcedStyle: compact
|
63
|
+
Exclude:
|
64
|
+
- config/**/*
|
76
65
|
|
77
66
|
Style/HashSyntax:
|
78
67
|
Exclude:
|
data/lib/rubocop.yml
CHANGED
@@ -10,7 +10,8 @@ Layout/AlignParameters:
|
|
10
10
|
Enabled: true
|
11
11
|
|
12
12
|
Layout/MultilineMethodCallIndentation:
|
13
|
-
|
13
|
+
# We don't like this cop
|
14
|
+
Enabled: false
|
14
15
|
|
15
16
|
Layout/MultilineOperationIndentation:
|
16
17
|
Enabled: false
|
@@ -21,6 +22,22 @@ Layout/SpaceInLambdaLiteral:
|
|
21
22
|
Layout/SpaceInsideBrackets:
|
22
23
|
Enabled: false
|
23
24
|
|
25
|
+
Layout/IndentArray:
|
26
|
+
# Good
|
27
|
+
# foo([
|
28
|
+
# :first,
|
29
|
+
# :second,
|
30
|
+
# ])
|
31
|
+
# Bad
|
32
|
+
# foo([
|
33
|
+
# :first,
|
34
|
+
# :second
|
35
|
+
# ])
|
36
|
+
EnforcedStyle: consistent
|
37
|
+
|
38
|
+
Layout/IndentHash:
|
39
|
+
EnforcedStyle: consistent
|
40
|
+
|
24
41
|
# Lint
|
25
42
|
|
26
43
|
Lint/AmbiguousBlockAssociation:
|
@@ -88,6 +105,8 @@ RSpec/AnyInstance:
|
|
88
105
|
|
89
106
|
RSpec/ExampleLength:
|
90
107
|
Max: 20
|
108
|
+
Exclude:
|
109
|
+
- spec/features/**/*
|
91
110
|
|
92
111
|
RSpec/DescribeClass:
|
93
112
|
Enabled: false
|
@@ -122,6 +141,11 @@ RSpec/ScatteredSetup:
|
|
122
141
|
RSpec/VerifiedDoubles:
|
123
142
|
Enabled: false
|
124
143
|
|
144
|
+
# Security
|
145
|
+
|
146
|
+
Security/YAMLLoad:
|
147
|
+
Enabled: false
|
148
|
+
|
125
149
|
# Style
|
126
150
|
|
127
151
|
Style/AccessorMethodName:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-config-umbrellio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.49.1.
|
4
|
+
version: 0.49.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JelF
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|