netsoft-danger 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netsoft-danger/version.rb +1 -1
- data/rubocop/config-2019-08-12.yml +60 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63aa292fae8444515f4e8851f5b818f4b9451c72b691ae30a8471520d4e59fe6
|
4
|
+
data.tar.gz: d000662c74328986252a84de41c9d5b6fa3625eed341944c5da1eac897d32ec8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65838c8c49367f2f32e136d5fd9fa878d354d2a7eb9487bc4fdd4212576c7c0b5afc9a8788343769f4f80653a11fce40a9393e4c1609efd7a8986f7d43884086
|
7
|
+
data.tar.gz: d776b293d96e1e60ef1a121ddd12819bfe2c2b73d44850ecb7b6952b6d2e7564aecbdaa6508396a2fbfebbbbe8830bc5d3e8a38d794745ee9231125da7d38b9e
|
@@ -16,31 +16,76 @@ AllCops:
|
|
16
16
|
- 'public/**/*'
|
17
17
|
- 'tmp/**/*'
|
18
18
|
- 'spec/dummy/**/*'
|
19
|
+
|
20
|
+
Naming/RescuedExceptionsVariableName:
|
21
|
+
PreferredName: ex
|
22
|
+
Naming/UncommunicativeMethodParamName:
|
23
|
+
AllowedNames:
|
24
|
+
- me
|
25
|
+
- ex
|
26
|
+
|
27
|
+
Layout/AlignHash:
|
28
|
+
EnforcedHashRocketStyle: table
|
29
|
+
EnforcedColonStyle: table
|
30
|
+
Layout/ExtraSpacing:
|
31
|
+
AllowForAlignment: true
|
32
|
+
Layout/IndentAssignment:
|
33
|
+
IndentationWidth: 4
|
34
|
+
Layout/IndentFirstArrayElement:
|
35
|
+
EnforcedStyle: consistent
|
36
|
+
IndentationWidth: 4
|
37
|
+
Layout/IndentFirstHashElement:
|
38
|
+
EnforcedStyle: consistent
|
39
|
+
IndentationWidth: 4
|
40
|
+
Layout/SpaceInsideBlockBraces:
|
41
|
+
EnforcedStyle: no_space
|
42
|
+
SpaceBeforeBlockParameters: false
|
43
|
+
Layout/SpaceInsideHashLiteralBraces:
|
44
|
+
EnforcedStyle: no_space
|
45
|
+
|
46
|
+
Lint/AmbiguousBlockAssociation:
|
47
|
+
Exclude:
|
48
|
+
- spec/**/*
|
49
|
+
|
19
50
|
Rails:
|
20
51
|
Enabled: true
|
21
52
|
Rails/HttpPositionalArguments:
|
22
53
|
Enabled: false
|
54
|
+
Rails/SkipsModelValidations:
|
55
|
+
Whitelist:
|
56
|
+
- touch
|
57
|
+
- update_attribute
|
58
|
+
- update_counters
|
59
|
+
- increment_counter
|
60
|
+
- decrement_counter
|
23
61
|
Netsoft/AuthHttpPositionalArguments:
|
24
62
|
Enabled: true
|
25
63
|
Include:
|
26
64
|
- 'spec/controllers/**/*'
|
27
|
-
|
28
|
-
EnforcedStyle: to_not
|
65
|
+
|
29
66
|
RSpec/ExpectChange:
|
30
67
|
EnforcedStyle: block
|
68
|
+
RSpec/ImplicitSubject:
|
69
|
+
Enabled: false
|
70
|
+
RSpec/MessageSpies:
|
71
|
+
Enabled: false
|
72
|
+
RSpec/NamedSubject:
|
73
|
+
Enabled: false
|
74
|
+
RSpec/NestedGroups:
|
75
|
+
Enabled: false
|
76
|
+
RSpec/NotToNot:
|
77
|
+
EnforcedStyle: to_not
|
78
|
+
|
79
|
+
Style/AndOr:
|
80
|
+
EnforcedStyle: conditionals
|
81
|
+
Style/BlockDelimiters:
|
82
|
+
EnforcedStyle: semantic
|
83
|
+
AllowBracesOnProceduralOneLiners: true
|
84
|
+
Style/MultilineBlockChain:
|
85
|
+
Enabled: false
|
86
|
+
Style/RescueModifier:
|
87
|
+
Enabled: false
|
31
88
|
Style/TrailingCommaInArrayLiteral:
|
32
89
|
EnforcedStyleForMultiline: comma
|
33
90
|
Style/TrailingCommaInHashLiteral:
|
34
|
-
EnforcedStyleForMultiline: comma
|
35
|
-
Layout/SpaceInsideBlockBraces:
|
36
|
-
EnforcedStyle: no_space
|
37
|
-
SpaceBeforeBlockParameters: false
|
38
|
-
Layout/AlignHash:
|
39
|
-
EnforcedHashRocketStyle: table
|
40
|
-
EnforcedColonStyle: table
|
41
|
-
Layout/IndentFirstHashElement:
|
42
|
-
IndentationWidth: 4
|
43
|
-
Layout/SpaceInsideHashLiteralBraces:
|
44
|
-
EnforcedStyle: no_space
|
45
|
-
Layout/IndentAssignment:
|
46
|
-
IndentationWidth: 4
|
91
|
+
EnforcedStyleForMultiline: comma
|