rubocop-gooddog 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +22 -0
  3. data/config/default.yml +80 -0
  4. data/config/rails.yml +8 -0
  5. metadata +63 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2731a6aca28c2a5a8c665aaa3a204735424a5c23b9d510eed2848704cfd6c33d
4
+ data.tar.gz: 849507475f9bc375497697655fea801516600b1214a888436131c59b8540476c
5
+ SHA512:
6
+ metadata.gz: 98183f68976aebf191b14af5f3e48c28a4e0fc5229fcc6cb53676716bed6cf82de21c98b4c7cefd9936ecdca94abc5ed664a529fb03566bb7f3820c930908bf9
7
+ data.tar.gz: b68b08fdb404964c0818e2ef644f3d2f0359409c038e1a87f75f51e7607426ed53c0f908b40c829b20cb567e332566bb16310610fe0d09936bb0904e11a56428
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # RuboCop Good Dog
2
+
3
+ This repository provides preferred RuboCop configuration to use for the basis of Ruby projects at Good Dog Design.
4
+
5
+ ## Usage
6
+
7
+ **Gemfile**
8
+
9
+ ``` ruby
10
+ gem "rubocop-gooddog"
11
+ gem "rubocop-performance", require: false
12
+ gem "rubocop-rails", require: false
13
+ ```
14
+
15
+ **.rubocop.yml**
16
+
17
+ ``` yaml
18
+ inherit_gem:
19
+ rubocop-gooddog:
20
+ - config/default.yml
21
+ - config/rails.yml
22
+ ```
@@ -0,0 +1,80 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ Bundler/OrderedGems:
5
+ Enabled: false
6
+
7
+ Layout/AccessModifierIndentation:
8
+ EnforcedStyle: outdent
9
+
10
+ Layout/EmptyLinesAroundAccessModifier:
11
+ EnforcedStyle: only_before
12
+
13
+ Layout/LineLength:
14
+ Max: 200
15
+
16
+ Layout/SpaceInsideArrayLiteralBrackets:
17
+ EnforcedStyle: space
18
+
19
+ Metrics/BlockLength:
20
+ Enabled: false
21
+
22
+ Style/ClassAndModuleChildren:
23
+ Enabled: false
24
+
25
+ Style/Documentation:
26
+ Enabled: false
27
+
28
+ Style/FrozenStringLiteralComment:
29
+ Enabled: false
30
+
31
+ Style/GuardClause:
32
+ Enabled: false
33
+
34
+ Style/HashEachMethods:
35
+ Enabled: true
36
+
37
+ Style/HashTransformKeys:
38
+ Enabled: false
39
+
40
+ Layout/FirstHashElementIndentation:
41
+ EnforcedStyle: consistent
42
+
43
+ Style/ConditionalAssignment:
44
+ Enabled: false
45
+
46
+ Naming/AccessorMethodName:
47
+ Enabled: false
48
+
49
+ Style/HashTransformValues:
50
+ Enabled: false
51
+
52
+ Style/IfUnlessModifier:
53
+ Enabled: false
54
+
55
+ Style/StringLiterals:
56
+ Enabled: false
57
+
58
+ Metrics/AbcSize:
59
+ Enabled: false
60
+
61
+ Metrics/PerceivedComplexity:
62
+ Enabled: false
63
+
64
+ Metrics/CyclomaticComplexity:
65
+ Enabled: false
66
+
67
+ Metrics/MethodLength:
68
+ Max: 25
69
+
70
+ Style/SymbolArray:
71
+ Enabled: false
72
+
73
+ Style/WordArray:
74
+ Enabled: false
75
+
76
+ Style/StringLiteralsInInterpolation:
77
+ Enabled: false
78
+
79
+ Style/AndOr:
80
+ Enabled: false
data/config/rails.yml ADDED
@@ -0,0 +1,8 @@
1
+ require:
2
+ - rubocop-rails
3
+
4
+ Rails/OutputSafety:
5
+ Enabled: false
6
+
7
+ Rails/SkipsModelValidations:
8
+ Enabled: false
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubocop-gooddog
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ platform: ruby
6
+ authors:
7
+ - James Brooks
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-03-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.80.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.80.1
27
+ description: Code style checking for Good Dog Design Ruby repositories
28
+ email:
29
+ - james@gooddogdesign.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - README.md
35
+ - config/default.yml
36
+ - config/rails.yml
37
+ homepage: https://github.com/gooddog/rubocop-gooddog
38
+ licenses:
39
+ - MIT
40
+ metadata:
41
+ homepage_uri: https://github.com/gooddog/rubocop-gooddog
42
+ source_code_uri: https://github.com/gooddog/rubocop-gooddog
43
+ changelog_uri: https://github.com/gooddog/rubocop-gooddog/blob/master/CHANGELOG.md
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.3.0
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubygems_version: 3.0.3
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: RuboCop GoodDog
63
+ test_files: []