rubocop-gooddog 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -0
- data/config/default.yml +31 -25
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a51fba6d6db23fecffedf538d6b70a89114974bc8b2a63281ef70e394858a29
|
4
|
+
data.tar.gz: 558d4d51bbc99870dd900cace7fa2e2bc823b4ae456f936b384bb3791e65bcdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3135e030374a5ce72f1ff802a592ca9b848749a33752d39e4eeaac93f36fd410daebe219e02a5c830c59f80a47bfbaab174da4682515279b845f80230186acc9
|
7
|
+
data.tar.gz: a228b3774bf8d2118fad7bd8402c3d60f964000bf79d4400233f75d4c05190d02df507105e7dfe5f7c1d9aa268ce63a36ddeda977561bc2f2994d14dddf59df1
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [0.2] - 2020-03-31
|
8
|
+
### Added
|
9
|
+
- Set alternative configurations for `Layout/CaseIndentation` and `Layout/EndAlignment` to avoid statements floating in the middle of the file.
|
10
|
+
|
11
|
+
## [0.1] - 2020-03-30
|
12
|
+
### Added
|
13
|
+
- Initial Good Dog Design opinionated RuboCop configurations for Ruby and Rails.
|
data/README.md
CHANGED
data/config/default.yml
CHANGED
@@ -7,21 +7,51 @@ Bundler/OrderedGems:
|
|
7
7
|
Layout/AccessModifierIndentation:
|
8
8
|
EnforcedStyle: outdent
|
9
9
|
|
10
|
+
Layout/CaseIndentation:
|
11
|
+
EnforcedStyle: end
|
12
|
+
|
10
13
|
Layout/EmptyLinesAroundAccessModifier:
|
11
14
|
EnforcedStyle: only_before
|
12
15
|
|
16
|
+
Layout/EndAlignment:
|
17
|
+
EnforcedStyleAlignWith: variable
|
18
|
+
|
19
|
+
Layout/FirstHashElementIndentation:
|
20
|
+
EnforcedStyle: consistent
|
21
|
+
|
13
22
|
Layout/LineLength:
|
14
23
|
Max: 200
|
15
24
|
|
16
25
|
Layout/SpaceInsideArrayLiteralBrackets:
|
17
26
|
EnforcedStyle: space
|
18
27
|
|
28
|
+
Metrics/AbcSize:
|
29
|
+
Enabled: false
|
30
|
+
|
19
31
|
Metrics/BlockLength:
|
20
32
|
Enabled: false
|
21
33
|
|
34
|
+
Metrics/CyclomaticComplexity:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Metrics/MethodLength:
|
38
|
+
Max: 25
|
39
|
+
|
40
|
+
Metrics/PerceivedComplexity:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Naming/AccessorMethodName:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Style/AndOr:
|
47
|
+
Enabled: false
|
48
|
+
|
22
49
|
Style/ClassAndModuleChildren:
|
23
50
|
Enabled: false
|
24
51
|
|
52
|
+
Style/ConditionalAssignment:
|
53
|
+
Enabled: false
|
54
|
+
|
25
55
|
Style/Documentation:
|
26
56
|
Enabled: false
|
27
57
|
|
@@ -37,15 +67,6 @@ Style/HashEachMethods:
|
|
37
67
|
Style/HashTransformKeys:
|
38
68
|
Enabled: false
|
39
69
|
|
40
|
-
Layout/FirstHashElementIndentation:
|
41
|
-
EnforcedStyle: consistent
|
42
|
-
|
43
|
-
Style/ConditionalAssignment:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
Naming/AccessorMethodName:
|
47
|
-
Enabled: false
|
48
|
-
|
49
70
|
Style/HashTransformValues:
|
50
71
|
Enabled: false
|
51
72
|
|
@@ -55,26 +76,11 @@ Style/IfUnlessModifier:
|
|
55
76
|
Style/StringLiterals:
|
56
77
|
Enabled: false
|
57
78
|
|
58
|
-
|
59
|
-
Enabled: false
|
60
|
-
|
61
|
-
Metrics/PerceivedComplexity:
|
62
|
-
Enabled: false
|
63
|
-
|
64
|
-
Metrics/CyclomaticComplexity:
|
79
|
+
Style/StringLiteralsInInterpolation:
|
65
80
|
Enabled: false
|
66
81
|
|
67
|
-
Metrics/MethodLength:
|
68
|
-
Max: 25
|
69
|
-
|
70
82
|
Style/SymbolArray:
|
71
83
|
Enabled: false
|
72
84
|
|
73
85
|
Style/WordArray:
|
74
86
|
Enabled: false
|
75
|
-
|
76
|
-
Style/StringLiteralsInInterpolation:
|
77
|
-
Enabled: false
|
78
|
-
|
79
|
-
Style/AndOr:
|
80
|
-
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-gooddog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -31,6 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- CHANGELOG.md
|
34
35
|
- README.md
|
35
36
|
- config/default.yml
|
36
37
|
- config/rails.yml
|