easy_style 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default_rc.yml +85 -0
- data/lib/easy_style/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55d102e202084cdfa6548f632692012333ad5a3741643af30878e2d76f678e28
|
4
|
+
data.tar.gz: c14a56c18527f7d74e31616b781bb53684cabfa1b648216d099a282b15634e2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ad3c5de550473158d0d8f23a1bb289d83da29ea56ff1f60a43dd0c03b42789d9cc8c0b61959329a010d6d467fc39fed9a51a18c09ec5cb1aa1b56171fc633b
|
7
|
+
data.tar.gz: b5bcf7561c355cf9020f6472f33e7e6867d324f2447f53c8356ef5e5bddc6142d5dfccd0915c250ed55a709cc9400c2baa519b44791d5ccd752b9c055495b0ad
|
data/default_rc.yml
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
|
4
|
+
Rails:
|
5
|
+
Enabled: true
|
6
|
+
AllCops:
|
7
|
+
TargetRubyVersion: 3.1.2
|
8
|
+
NewCops: enable
|
9
|
+
SuggestExtensions: false
|
10
|
+
|
11
|
+
Bundler/GemFilename:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Gemspec/DeprecatedAttributeAssignment:
|
15
|
+
Enabled: false
|
16
|
+
Gemspec/RequireMFA:
|
17
|
+
Enabled: false
|
18
|
+
Gemspec/RequiredRubyVersion:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Layout/EmptyLinesAroundClassBody:
|
22
|
+
EnforcedStyle: empty_lines_special
|
23
|
+
Layout/EmptyLinesAroundModuleBody:
|
24
|
+
EnforcedStyle: empty_lines_except_namespace
|
25
|
+
Layout/LineLength:
|
26
|
+
Enabled: false
|
27
|
+
Layout/MultilineMethodCallIndentation:
|
28
|
+
EnforcedStyle: indented_relative_to_receiver
|
29
|
+
|
30
|
+
Lint/SuppressedException:
|
31
|
+
AllowComments: true
|
32
|
+
|
33
|
+
Metrics/AbcSize:
|
34
|
+
AllowedMethods: [ 'included' ]
|
35
|
+
Metrics/BlockLength:
|
36
|
+
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
|
37
|
+
Exclude:
|
38
|
+
- "**/patches/**/*"
|
39
|
+
- "**/easy_patch/**/*"
|
40
|
+
- "**/spec/**/*"
|
41
|
+
Metrics/ClassLength:
|
42
|
+
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
|
43
|
+
Metrics/CyclomaticComplexity:
|
44
|
+
AllowedMethods:
|
45
|
+
- included
|
46
|
+
Metrics/MethodLength:
|
47
|
+
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
|
48
|
+
AllowedMethods: [ 'included' ]
|
49
|
+
Metrics/ModuleLength:
|
50
|
+
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
|
51
|
+
Exclude:
|
52
|
+
- "**/patches/**/*"
|
53
|
+
- "**/easy_patch/**/*"
|
54
|
+
Metrics/PerceivedComplexity:
|
55
|
+
AllowedMethods:
|
56
|
+
- included
|
57
|
+
|
58
|
+
Naming/VariableNumber:
|
59
|
+
EnforcedStyle: snake_case
|
60
|
+
|
61
|
+
Rails/ApplicationRecord:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
Style/Documentation:
|
65
|
+
Enabled: false
|
66
|
+
Style/FrozenStringLiteralComment:
|
67
|
+
EnforcedStyle: never
|
68
|
+
Style/IfUnlessModifier:
|
69
|
+
Enabled: false
|
70
|
+
Style/HashSyntax:
|
71
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
72
|
+
Style/MutableConstant:
|
73
|
+
Enabled: false
|
74
|
+
Style/NegatedIf:
|
75
|
+
Enabled: false
|
76
|
+
Style/QuotedSymbols:
|
77
|
+
Enabled: false
|
78
|
+
Rails/SkipsModelValidations:
|
79
|
+
Enabled: false
|
80
|
+
Style/StringLiterals:
|
81
|
+
EnforcedStyle: double_quotes
|
82
|
+
Style/TrailingCommaInHashLiteral:
|
83
|
+
EnforcedStyleForMultiline: consistent_comma
|
84
|
+
Style/TrailingCommaInArrayLiteral:
|
85
|
+
EnforcedStyleForMultiline: consistent_comma
|
data/lib/easy_style/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Easy Software Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- README.md
|
55
55
|
- Rakefile
|
56
56
|
- default.yml
|
57
|
+
- default_rc.yml
|
57
58
|
- easy_style.gemspec
|
58
59
|
- lib/easy_style.rb
|
59
60
|
- lib/easy_style/version.rb
|
@@ -79,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
80
|
- !ruby/object:Gem::Version
|
80
81
|
version: '0'
|
81
82
|
requirements: []
|
82
|
-
rubygems_version: 3.3.
|
83
|
+
rubygems_version: 3.3.19
|
83
84
|
signing_key:
|
84
85
|
specification_version: 4
|
85
86
|
summary: Rubocop configs
|