rubocop-espago 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/rubocop.yml +88 -0
- metadata +64 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b67221f11bd98c11833b58a76eda6b07886454e85b85c502d6dec8368275d277
|
4
|
+
data.tar.gz: 45e5dc95960b6f64de1e273aa8854685af71c6c56f838e75326446effb303182
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9416ad2561141345d7ba2e20cae56b1b980c17ca1a67310477071c5ba6f9a3c8040fdc90f9436e9f6fec8ccb7564c868cd1ff145ba909d9e293f9b6426967a09
|
7
|
+
data.tar.gz: e4a40d77494b259ef21f176293cede84a705e52a7a6eed5947d1bcd72ccbb43176077a909342b38675b4f3b90f029d28df3c9e6f68130f8bc626f2523aafa7a4
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022 Espago
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/rubocop.yml
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
inherit_mode:
|
3
|
+
merge:
|
4
|
+
- Exclude
|
5
|
+
- Include
|
6
|
+
|
7
|
+
AllCops:
|
8
|
+
EnabledByDefault: true
|
9
|
+
SuggestExtensions: false
|
10
|
+
Exclude:
|
11
|
+
- bin/*
|
12
|
+
- db/schema.rb
|
13
|
+
- vendor/bundle/**/*
|
14
|
+
- tmp/**/*
|
15
|
+
- Gemfile.lock
|
16
|
+
|
17
|
+
Layout/EmptyLines:
|
18
|
+
Enabled: false
|
19
|
+
Layout/EmptyLinesAroundBlockBody:
|
20
|
+
Enabled: false
|
21
|
+
Layout/EmptyLinesAroundClassBody:
|
22
|
+
Enabled: false
|
23
|
+
Layout/EmptyLinesAroundModuleBody:
|
24
|
+
Enabled: false
|
25
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Layout/ClassStructure:
|
29
|
+
Enabled: false
|
30
|
+
Layout/ExtraSpacing:
|
31
|
+
Enabled: false
|
32
|
+
Layout/FirstMethodArgumentLineBreak:
|
33
|
+
Enabled: false
|
34
|
+
Layout/HashAlignment:
|
35
|
+
Enabled: false
|
36
|
+
Layout/RedundantLineBreak:
|
37
|
+
Enabled: false
|
38
|
+
Layout/MultilineAssignmentLayout:
|
39
|
+
Enabled: false
|
40
|
+
|
41
|
+
Lint/ConstantResolution:
|
42
|
+
Enabled: false
|
43
|
+
|
44
|
+
Metrics/AbcSize:
|
45
|
+
Enabled: false
|
46
|
+
Metrics/BlockLength:
|
47
|
+
Enabled: true
|
48
|
+
Exclude:
|
49
|
+
- config/routes.rb
|
50
|
+
- db/migrate/*
|
51
|
+
- test/**/*
|
52
|
+
- config/**/*
|
53
|
+
Metrics/ClassLength:
|
54
|
+
Max: 200
|
55
|
+
Metrics/CyclomaticComplexity:
|
56
|
+
Max: 12
|
57
|
+
Metrics/MethodLength:
|
58
|
+
Max: 30
|
59
|
+
Metrics/PerceivedComplexity:
|
60
|
+
Max: 12
|
61
|
+
|
62
|
+
Style/ArrayCoercion:
|
63
|
+
Enabled: false
|
64
|
+
Style/Alias:
|
65
|
+
Enabled: false
|
66
|
+
Style/ClassAndModuleChildren:
|
67
|
+
Enabled: false
|
68
|
+
Style/ClassMethodsDefinitions:
|
69
|
+
EnforcedStyle: self_class
|
70
|
+
Style/ConstantVisibility:
|
71
|
+
Enabled: false
|
72
|
+
Style/Copyright:
|
73
|
+
Enabled: false
|
74
|
+
Style/DisableCopsWithinSourceCodeDirective:
|
75
|
+
Enabled: false
|
76
|
+
Style/InlineComment:
|
77
|
+
Enabled: false
|
78
|
+
Style/IpAddresses:
|
79
|
+
Exclude:
|
80
|
+
- test/**/*
|
81
|
+
Style/MethodCallWithArgsParentheses:
|
82
|
+
Enabled: false
|
83
|
+
Style/ModuleFunction:
|
84
|
+
EnforcedStyle: extend_self
|
85
|
+
Style/RedundantArgument:
|
86
|
+
Enabled: false
|
87
|
+
Style/StringHashKeys:
|
88
|
+
Enabled: false
|
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop-espago
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Espago
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-09-20 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'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: |
|
28
|
+
Gem containing the `.rubocop.yml` config used
|
29
|
+
in Espago's projects
|
30
|
+
email:
|
31
|
+
- matmg24@gmail.com
|
32
|
+
- piotr.garbus.garbicz@gmail.com
|
33
|
+
executables: []
|
34
|
+
extensions: []
|
35
|
+
extra_rdoc_files: []
|
36
|
+
files:
|
37
|
+
- LICENSE
|
38
|
+
- rubocop.yml
|
39
|
+
homepage: https://github.com/espago/rubocop-espago
|
40
|
+
licenses:
|
41
|
+
- MIT
|
42
|
+
metadata:
|
43
|
+
source_code_uri: https://github.com/espago/rubocop-espago
|
44
|
+
allowed_push_host: https://rubygems.org
|
45
|
+
post_install_message:
|
46
|
+
rdoc_options: []
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.6.0
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
requirements: []
|
60
|
+
rubygems_version: 3.3.7
|
61
|
+
signing_key:
|
62
|
+
specification_version: 4
|
63
|
+
summary: Espago's rubocop config
|
64
|
+
test_files: []
|