ThunderKey-rubocop 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/rubocop.yml +106 -0
- metadata +45 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: f6d81d92a18eec324ff18e94b3b0b0aac19f038b321232eed59b0d5072e85fa9
|
|
4
|
+
data.tar.gz: 424d9ccbf26c96a344aad6e8306c46a84f864843c89b420c9946a15edb4be023
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 9d26c285bb5b3a90e8b74e04e84ea8f372419bab3910fa64c0b381555e080d6fc26f0fb210d8c1a3f2c3a01c700db7713bdc0a3ae6048edf134af353e4f35442
|
|
7
|
+
data.tar.gz: 33872b4cecc0912e47992169bf01b04c7dc659c6023bbd9850f41c7f2479f0d19bee67c7a3f7082918429607d34d08ec1997c82a28bf626ef3360db55e85561d
|
data/rubocop.yml
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# See:
|
|
2
|
+
# * https://rubocop.readthedocs.io/en/latest/
|
|
3
|
+
# * https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml
|
|
4
|
+
# * https://github.com/rubocop-hq/rubocop/blob/master/config/enabled.yml
|
|
5
|
+
# * https://github.com/rubocop-hq/rubocop/blob/master/config/disabled.yml
|
|
6
|
+
|
|
7
|
+
AllCops:
|
|
8
|
+
TargetRubyVersion: 2.5
|
|
9
|
+
Exclude:
|
|
10
|
+
- 'tmp/**/*'
|
|
11
|
+
- 'vendor/**/*'
|
|
12
|
+
|
|
13
|
+
Metrics/AbcSize:
|
|
14
|
+
Max: 22
|
|
15
|
+
|
|
16
|
+
Metrics/MethodLength:
|
|
17
|
+
Max: 16
|
|
18
|
+
|
|
19
|
+
Metrics/LineLength:
|
|
20
|
+
Max: 100
|
|
21
|
+
IgnoredPatterns:
|
|
22
|
+
# allow string representations of objects (in tests)
|
|
23
|
+
- !ruby/regexp '/#<[A-Za-z0-9:]+ [a-z0-9]+: .*>/'
|
|
24
|
+
Exclude:
|
|
25
|
+
- db/schema.rb
|
|
26
|
+
|
|
27
|
+
Metrics/BlockLength:
|
|
28
|
+
ExcludedMethods:
|
|
29
|
+
# ignore rspec methods
|
|
30
|
+
- feature
|
|
31
|
+
- namespace
|
|
32
|
+
- context
|
|
33
|
+
- describe
|
|
34
|
+
- it
|
|
35
|
+
- define
|
|
36
|
+
- shared_examples
|
|
37
|
+
Exclude:
|
|
38
|
+
- 'config/environments/*'
|
|
39
|
+
|
|
40
|
+
Style/PercentLiteralDelimiters:
|
|
41
|
+
# Specify the default preferred delimiter for all types with the 'default' key
|
|
42
|
+
# Override individual delimiters (even with default specified) by specifying
|
|
43
|
+
# an individual key
|
|
44
|
+
PreferredDelimiters:
|
|
45
|
+
default: ()
|
|
46
|
+
'%i': '()'
|
|
47
|
+
'%I': '()'
|
|
48
|
+
'%r': '{}'
|
|
49
|
+
'%w': '()'
|
|
50
|
+
'%W': '()'
|
|
51
|
+
'%q': '{}'
|
|
52
|
+
'%Q': '{}'
|
|
53
|
+
Style/BarePercentLiterals:
|
|
54
|
+
EnforcedStyle: percent_q
|
|
55
|
+
|
|
56
|
+
Layout/SpaceInsideHashLiteralBraces:
|
|
57
|
+
EnforcedStyle: no_space
|
|
58
|
+
|
|
59
|
+
# Trailing Commas
|
|
60
|
+
|
|
61
|
+
Style/TrailingCommaInArguments:
|
|
62
|
+
EnforcedStyleForMultiline: comma
|
|
63
|
+
Style/TrailingCommaInArrayLiteral:
|
|
64
|
+
EnforcedStyleForMultiline: comma
|
|
65
|
+
Style/TrailingCommaInHashLiteral:
|
|
66
|
+
EnforcedStyleForMultiline: comma
|
|
67
|
+
|
|
68
|
+
# Alignments
|
|
69
|
+
|
|
70
|
+
Layout/DefEndAlignment:
|
|
71
|
+
EnforcedStyleAlignWith: def
|
|
72
|
+
Layout/BlockAlignment:
|
|
73
|
+
EnforcedStyleAlignWith: start_of_line
|
|
74
|
+
Layout/EndAlignment:
|
|
75
|
+
EnforcedStyleAlignWith: start_of_line
|
|
76
|
+
Layout/AlignParameters:
|
|
77
|
+
EnforcedStyle: with_fixed_indentation
|
|
78
|
+
Layout/MultilineMethodCallIndentation:
|
|
79
|
+
EnforcedStyle: indented
|
|
80
|
+
Layout/CaseIndentation:
|
|
81
|
+
EnforcedStyle: end
|
|
82
|
+
|
|
83
|
+
# Disabled
|
|
84
|
+
|
|
85
|
+
Style/MethodDefParentheses:
|
|
86
|
+
Enabled: false
|
|
87
|
+
Style/Documentation:
|
|
88
|
+
Enabled: false
|
|
89
|
+
Style/MixinUsage:
|
|
90
|
+
Enabled: false
|
|
91
|
+
Style/ClassAndModuleChildren:
|
|
92
|
+
Enabled: false
|
|
93
|
+
Layout/SpaceInsideBlockBraces:
|
|
94
|
+
Enabled: false
|
|
95
|
+
Layout/ElseAlignment:
|
|
96
|
+
Enabled: false
|
|
97
|
+
Layout/ClosingHeredocIndentation:
|
|
98
|
+
Enabled: false
|
|
99
|
+
Layout/IndentHeredoc:
|
|
100
|
+
Enabled: false
|
|
101
|
+
Lint/AssignmentInCondition:
|
|
102
|
+
Enabled: false
|
|
103
|
+
Lint/AmbiguousRegexpLiteral:
|
|
104
|
+
Enabled: false
|
|
105
|
+
Naming/UncommunicativeMethodParamName:
|
|
106
|
+
Enabled: false
|
metadata
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ThunderKey-rubocop
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Nicolas Ganz
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-10-13 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description:
|
|
14
|
+
email:
|
|
15
|
+
- nicolas@keltec.ch
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- rubocop.yml
|
|
21
|
+
homepage: https://gitlab.com/ThunderKey/rubocop
|
|
22
|
+
licenses:
|
|
23
|
+
- MIT
|
|
24
|
+
metadata: {}
|
|
25
|
+
post_install_message:
|
|
26
|
+
rdoc_options: []
|
|
27
|
+
require_paths:
|
|
28
|
+
- lib
|
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - ">="
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '0'
|
|
39
|
+
requirements: []
|
|
40
|
+
rubyforge_project:
|
|
41
|
+
rubygems_version: 2.7.3
|
|
42
|
+
signing_key:
|
|
43
|
+
specification_version: 4
|
|
44
|
+
summary: rubocop configurations of ThunderKey
|
|
45
|
+
test_files: []
|