rubocop-gooddog 0.1 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +1 -0
- data/config/default.yml +43 -22
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42dc6004903e2ce5c6b6d0b66f2ab91b612b72ed2528cff33fde12780552a3fa
|
4
|
+
data.tar.gz: '048d6bec588b7f3a31b5946b95b6ab8a6fee4d331995a3d050b8deb27d76b652'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5303e742c94c07c53aa5b152f3f19e546c3e303f5032cc4601f01bf128764cec08a3302f3c3d2234218ec4e41713c7ff9c46ada40ac6a48ec044de794de9d44
|
7
|
+
data.tar.gz: bf2719b46ad5990e1be246ed55151aa5a095cefa8f21bc700e1ef338da0effc77c71954589aceaa051163704c46b55c11df0592777d390f59806ce290f3a2db7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,29 @@
|
|
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.6] - 2021-04-08
|
8
|
+
### Added
|
9
|
+
- `Layout/FirstArrayElementIndentation` changed from it's default values to `consistent`, which lines up with the current configuration for `Layout/FirstHashElementIndentation`.
|
10
|
+
|
11
|
+
## [0.5] - 2021-02-10
|
12
|
+
### Added
|
13
|
+
- Disabled default cops `Style/Lambda` and `Style/IfWithBooleanLiteralBranches`. `Style/Lambda` we disagree with any of the provided options and `Style/IfWithBooleanLiteralBranches` resulted in a non-equivalent fix.
|
14
|
+
|
15
|
+
## [0.4] - 2020-04-29
|
16
|
+
### Added
|
17
|
+
- Set alternative configuration for `Metrics/ClassLength`, bumped the value up to 150 from the default 100 for a little more breathing room. Past 150 abstraction really should be considered.
|
18
|
+
|
19
|
+
## [0.3] - 2020-04-03
|
20
|
+
### Added
|
21
|
+
- Set alternative configuration for `Layout/MultilineMethodCallIndentation` to avoid statements floating in the middle of the file.
|
22
|
+
|
23
|
+
## [0.2] - 2020-03-31
|
24
|
+
### Added
|
25
|
+
- Set alternative configurations for `Layout/CaseIndentation` and `Layout/EndAlignment` to avoid statements floating in the middle of the file.
|
26
|
+
|
27
|
+
## [0.1] - 2020-03-30
|
28
|
+
### Added
|
29
|
+
- Initial Good Dog Design opinionated RuboCop configurations for Ruby and Rails.
|
data/README.md
CHANGED
data/config/default.yml
CHANGED
@@ -7,21 +7,60 @@ 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/FirstArrayElementIndentation:
|
20
|
+
EnforcedStyle: consistent
|
21
|
+
|
22
|
+
Layout/FirstHashElementIndentation:
|
23
|
+
EnforcedStyle: consistent
|
24
|
+
|
13
25
|
Layout/LineLength:
|
14
26
|
Max: 200
|
15
27
|
|
28
|
+
Layout/MultilineMethodCallIndentation:
|
29
|
+
EnforcedStyle: indented
|
30
|
+
|
16
31
|
Layout/SpaceInsideArrayLiteralBrackets:
|
17
32
|
EnforcedStyle: space
|
18
33
|
|
34
|
+
Metrics/AbcSize:
|
35
|
+
Enabled: false
|
36
|
+
|
19
37
|
Metrics/BlockLength:
|
20
38
|
Enabled: false
|
21
39
|
|
40
|
+
Metrics/ClassLength:
|
41
|
+
Max: 150
|
42
|
+
|
43
|
+
Metrics/CyclomaticComplexity:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Metrics/MethodLength:
|
47
|
+
Max: 25
|
48
|
+
|
49
|
+
Metrics/PerceivedComplexity:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Naming/AccessorMethodName:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
Style/AndOr:
|
56
|
+
Enabled: false
|
57
|
+
|
22
58
|
Style/ClassAndModuleChildren:
|
23
59
|
Enabled: false
|
24
60
|
|
61
|
+
Style/ConditionalAssignment:
|
62
|
+
Enabled: false
|
63
|
+
|
25
64
|
Style/Documentation:
|
26
65
|
Enabled: false
|
27
66
|
|
@@ -37,44 +76,26 @@ Style/HashEachMethods:
|
|
37
76
|
Style/HashTransformKeys:
|
38
77
|
Enabled: false
|
39
78
|
|
40
|
-
Layout/FirstHashElementIndentation:
|
41
|
-
EnforcedStyle: consistent
|
42
|
-
|
43
|
-
Style/ConditionalAssignment:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
Naming/AccessorMethodName:
|
47
|
-
Enabled: false
|
48
|
-
|
49
79
|
Style/HashTransformValues:
|
50
80
|
Enabled: false
|
51
81
|
|
52
82
|
Style/IfUnlessModifier:
|
53
83
|
Enabled: false
|
54
84
|
|
55
|
-
Style/
|
85
|
+
Style/IfWithBooleanLiteralBranches:
|
56
86
|
Enabled: false
|
57
87
|
|
58
|
-
|
88
|
+
Style/Lambda:
|
59
89
|
Enabled: false
|
60
90
|
|
61
|
-
|
91
|
+
Style/StringLiterals:
|
62
92
|
Enabled: false
|
63
93
|
|
64
|
-
|
94
|
+
Style/StringLiteralsInInterpolation:
|
65
95
|
Enabled: false
|
66
96
|
|
67
|
-
Metrics/MethodLength:
|
68
|
-
Max: 25
|
69
|
-
|
70
97
|
Style/SymbolArray:
|
71
98
|
Enabled: false
|
72
99
|
|
73
100
|
Style/WordArray:
|
74
101
|
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.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Brooks
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.9.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.9.1
|
27
27
|
description: Code style checking for Good Dog Design Ruby repositories
|
28
28
|
email:
|
29
29
|
- james@gooddogdesign.com
|
@@ -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
|
@@ -41,7 +42,7 @@ metadata:
|
|
41
42
|
homepage_uri: https://github.com/gooddog/rubocop-gooddog
|
42
43
|
source_code_uri: https://github.com/gooddog/rubocop-gooddog
|
43
44
|
changelog_uri: https://github.com/gooddog/rubocop-gooddog/blob/master/CHANGELOG.md
|
44
|
-
post_install_message:
|
45
|
+
post_install_message:
|
45
46
|
rdoc_options: []
|
46
47
|
require_paths:
|
47
48
|
- lib
|
@@ -56,8 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
57
|
- !ruby/object:Gem::Version
|
57
58
|
version: '0'
|
58
59
|
requirements: []
|
59
|
-
rubygems_version: 3.
|
60
|
-
signing_key:
|
60
|
+
rubygems_version: 3.2.6
|
61
|
+
signing_key:
|
61
62
|
specification_version: 4
|
62
63
|
summary: RuboCop GoodDog
|
63
64
|
test_files: []
|