gc_ruboconfig 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/rubocop.yml +105 -0
  3. metadata +59 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 23618c51025bda3ea3ad3ccf979b790621b8c845
4
+ data.tar.gz: 70f1ad9340fe538a904ad64f36c2dcb1cd8eafd7
5
+ SHA512:
6
+ metadata.gz: 82d50bd77523f2e7d6cfe0837ecfe43a7e4967ce7ddee0bcdcc1097bcef29a2684290aa8862c29bb29f230254f0b14a66ae2a07a7afe99da8507003e577629d7
7
+ data.tar.gz: 0367cf8e249d02cdfb27baed435b0350edd0a4a7ddd6b3e418cc857f68d54a3a04536e3c96f63752d9bf145e9837612ef56e5939ca9ec9a1cd07226bca8f8f7b
data/rubocop.yml ADDED
@@ -0,0 +1,105 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+ Exclude:
4
+ - .*/**/*
5
+ - vendor/**/*
6
+ - bin/**/*
7
+ - node_modules/**/*
8
+
9
+ Lint/UnneededDisable:
10
+ Severity: error
11
+
12
+ Metrics/ClassLength:
13
+ Enabled: false
14
+
15
+ Metrics/LineLength:
16
+ Max: 90
17
+
18
+ Metrics/BlockLength:
19
+ Enabled: false
20
+
21
+ Metrics/MethodLength:
22
+ CountComments: false
23
+
24
+ Metrics/ModuleLength:
25
+ Enabled: false
26
+
27
+ Metrics/ParameterLists:
28
+ CountKeywordArgs: false
29
+
30
+ Style/AsciiComments:
31
+ Enabled: false
32
+
33
+ Style/Alias:
34
+ Enabled: true
35
+ EnforcedStyle: prefer_alias_method
36
+
37
+ Style/Documentation:
38
+ Enabled: false
39
+
40
+ Layout/DotPosition:
41
+ EnforcedStyle: trailing
42
+
43
+ Style/Encoding:
44
+ Enabled: never
45
+
46
+ Style/FormatString:
47
+ EnforcedStyle: sprintf
48
+
49
+ Style/FrozenStringLiteralComment:
50
+ Enabled: always
51
+
52
+ Style/TrailingCommaInLiteral:
53
+ EnforcedStyleForMultiline: comma
54
+
55
+ Style/TrailingCommaInArguments:
56
+ EnforcedStyleForMultiline: comma
57
+
58
+ # As of 0.43.0 this cop complains in situations where a guard clause would be
59
+ # unhelpful or erroneous.
60
+ # The auto-correct is also buggy.
61
+ Style/GuardClause:
62
+ Enabled: false
63
+
64
+ Layout/IndentArray:
65
+ EnforcedStyle: consistent
66
+
67
+ Layout/IndentHash:
68
+ EnforcedStyle: consistent
69
+
70
+ Style/Lambda:
71
+ EnforcedStyle: literal
72
+
73
+ Layout/MultilineMethodCallIndentation:
74
+ EnforcedStyle: indented
75
+
76
+ Layout/MultilineOperationIndentation:
77
+ EnforcedStyle: indented
78
+
79
+ Style/NumericPredicate:
80
+ Exclude:
81
+ - "spec/**/*"
82
+
83
+ Style/NumericLiterals:
84
+ MinDigits: 11
85
+
86
+ Style/SignalException:
87
+ EnforcedStyle: "only_raise"
88
+
89
+ Style/SingleLineBlockParams:
90
+ Enabled: false
91
+
92
+ Style/StringLiterals:
93
+ EnforcedStyle: "double_quotes"
94
+ Exclude:
95
+ - Gemfile
96
+
97
+ Naming/VariableNumber:
98
+ Enabled: false
99
+
100
+ Style/YodaCondition:
101
+ Enabled: true
102
+
103
+ Layout/SpaceBeforeBlockBraces:
104
+ EnforcedStyle: space
105
+ EnforcedStyleForEmptyBraces: space
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gc_ruboconfig
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
+ platform: ruby
6
+ authors:
7
+ - GoCardless
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-28 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.52.1
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.52.1
27
+ description:
28
+ email:
29
+ - developers@gocardless.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - rubocop.yml
35
+ homepage: https://github.com/gocardless/ruboconfig
36
+ licenses:
37
+ - MIT
38
+ metadata: {}
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubyforge_project:
55
+ rubygems_version: 2.6.13
56
+ signing_key:
57
+ specification_version: 4
58
+ summary: GoCardless's shared Rubocop configuration, conforming to our house style
59
+ test_files: []