kuyio-rubocop 0.1.5 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -1
- data/Gemfile +2 -0
- data/Rakefile +2 -0
- data/kuyio-rubocop.gemspec +12 -8
- data/lib/kuyio/rubocop/version.rb +1 -1
- data/lib/kuyio/rubocop.rb +2 -0
- data/rubocop-all.yml +14 -0
- data/rubocop-bundler.yml +4 -0
- data/rubocop-default.yml +19 -0
- data/rubocop-gemspec.yml +12 -0
- data/rubocop-layout.yml +306 -0
- data/rubocop-lint.yml +397 -0
- data/rubocop-metrics.yml +44 -0
- data/rubocop-naming.yml +65 -0
- data/rubocop-performance.yml +146 -0
- data/rubocop-rails.yml +195 -0
- data/rubocop-rspec.yml +160 -0
- data/rubocop-security.yml +18 -0
- data/rubocop-style.yml +464 -0
- metadata +41 -15
- data/default.yml +0 -175
data/default.yml
DELETED
@@ -1,175 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-rspec
|
3
|
-
- rubocop-performance
|
4
|
-
- rubocop-rails
|
5
|
-
|
6
|
-
AllCops:
|
7
|
-
TargetRubyVersion: 2.7
|
8
|
-
Exclude:
|
9
|
-
- 'vendor/**/*'
|
10
|
-
- '*.gemspec'
|
11
|
-
- 'bin/*'
|
12
|
-
- 'Gemfile'
|
13
|
-
- 'db/*schema.rb'
|
14
|
-
- 'db/migrate/*'
|
15
|
-
- 'test/dummy/**/*'
|
16
|
-
- '**/*.erb'
|
17
|
-
- 'node_modules/**/*'
|
18
|
-
- 'config/routes.rb'
|
19
|
-
|
20
|
-
NewCops: enable
|
21
|
-
SuggestExtensions: false
|
22
|
-
|
23
|
-
Bundler/OrderedGems:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
Layout/ArgumentAlignment:
|
27
|
-
EnforcedStyle: with_fixed_indentation
|
28
|
-
|
29
|
-
Layout/ParameterAlignment:
|
30
|
-
EnforcedStyle: with_fixed_indentation
|
31
|
-
|
32
|
-
Layout/CaseIndentation:
|
33
|
-
EnforcedStyle: end
|
34
|
-
|
35
|
-
Layout/EndAlignment:
|
36
|
-
EnforcedStyleAlignWith: variable
|
37
|
-
|
38
|
-
Layout/FirstArrayElementIndentation:
|
39
|
-
EnforcedStyle: consistent
|
40
|
-
|
41
|
-
Layout/MultilineMethodCallIndentation:
|
42
|
-
EnforcedStyle: indented
|
43
|
-
|
44
|
-
Layout/MultilineOperationIndentation:
|
45
|
-
EnforcedStyle: indented
|
46
|
-
|
47
|
-
Layout/SpaceInsideHashLiteralBraces:
|
48
|
-
EnforcedStyle: no_space
|
49
|
-
|
50
|
-
Layout/LineLength:
|
51
|
-
Max: 100
|
52
|
-
|
53
|
-
# This seems to break some require lines somehow:
|
54
|
-
Layout/EmptyLinesAroundArguments:
|
55
|
-
Enabled: false
|
56
|
-
|
57
|
-
Lint/RescueException:
|
58
|
-
Exclude:
|
59
|
-
- 'lib/tasks/*.rake'
|
60
|
-
|
61
|
-
Metrics/AbcSize:
|
62
|
-
Enabled: false
|
63
|
-
|
64
|
-
Metrics/ClassLength:
|
65
|
-
Enabled: false
|
66
|
-
|
67
|
-
Metrics/CyclomaticComplexity:
|
68
|
-
Enabled: false
|
69
|
-
|
70
|
-
Metrics/PerceivedComplexity:
|
71
|
-
Enabled: false
|
72
|
-
|
73
|
-
Metrics/MethodLength:
|
74
|
-
Enabled: false
|
75
|
-
|
76
|
-
Metrics/ModuleLength:
|
77
|
-
Enabled: false
|
78
|
-
|
79
|
-
Metrics/ParameterLists:
|
80
|
-
Enabled: false
|
81
|
-
|
82
|
-
Metrics/BlockLength:
|
83
|
-
Enabled: false
|
84
|
-
|
85
|
-
Naming/FileName:
|
86
|
-
Exclude: ['Gemfile', 'Guardfile']
|
87
|
-
|
88
|
-
Naming/MethodParameterName:
|
89
|
-
Enabled: false
|
90
|
-
|
91
|
-
Style/AccessModifierDeclarations:
|
92
|
-
EnforcedStyle: inline
|
93
|
-
|
94
|
-
Style/BlockDelimiters:
|
95
|
-
Exclude:
|
96
|
-
- 'spec/**/*_spec.rb'
|
97
|
-
|
98
|
-
Style/Documentation:
|
99
|
-
Enabled: false
|
100
|
-
|
101
|
-
Style/DoubleNegation:
|
102
|
-
Enabled: false
|
103
|
-
|
104
|
-
Style/FrozenStringLiteralComment:
|
105
|
-
Enabled: false
|
106
|
-
|
107
|
-
Style/IfUnlessModifier:
|
108
|
-
Enabled: false
|
109
|
-
|
110
|
-
Style/FormatStringToken:
|
111
|
-
EnforcedStyle: template
|
112
|
-
|
113
|
-
# Disable Style/NumericLiterals so numbers don't need underscores
|
114
|
-
Style/NumericLiterals:
|
115
|
-
Enabled: false
|
116
|
-
|
117
|
-
Style/NumericPredicate:
|
118
|
-
EnforcedStyle: comparison
|
119
|
-
|
120
|
-
Style/RedundantBegin:
|
121
|
-
Enabled: false
|
122
|
-
|
123
|
-
Style/RegexpLiteral:
|
124
|
-
EnforcedStyle: slashes
|
125
|
-
AllowInnerSlashes: true
|
126
|
-
Exclude:
|
127
|
-
- 'Guardfile'
|
128
|
-
|
129
|
-
Style/SymbolArray:
|
130
|
-
Enabled: false
|
131
|
-
|
132
|
-
Style/TrailingCommaInArguments:
|
133
|
-
EnforcedStyleForMultiline: consistent_comma
|
134
|
-
|
135
|
-
Style/TrailingCommaInArrayLiteral:
|
136
|
-
EnforcedStyleForMultiline: consistent_comma
|
137
|
-
|
138
|
-
Style/TrailingCommaInHashLiteral:
|
139
|
-
EnforcedStyleForMultiline: consistent_comma
|
140
|
-
|
141
|
-
RSpec/AnyInstance:
|
142
|
-
Enabled: false
|
143
|
-
|
144
|
-
RSpec/Be:
|
145
|
-
Enabled: false
|
146
|
-
|
147
|
-
RSpec/DescribedClass:
|
148
|
-
EnforcedStyle: explicit
|
149
|
-
|
150
|
-
RSpec/ExampleLength:
|
151
|
-
Enabled: false
|
152
|
-
|
153
|
-
RSpec/HookArgument:
|
154
|
-
EnforcedStyle: each
|
155
|
-
|
156
|
-
RSpec/MultipleExpectations:
|
157
|
-
Enabled: false
|
158
|
-
|
159
|
-
RSpec/ImplicitExpect:
|
160
|
-
EnforcedStyle: should
|
161
|
-
|
162
|
-
RSpec/ImplicitSubject:
|
163
|
-
Enabled: false
|
164
|
-
|
165
|
-
RSpec/MessageSpies:
|
166
|
-
EnforcedStyle: receive
|
167
|
-
|
168
|
-
RSpec/NestedGroups:
|
169
|
-
Enabled: false
|
170
|
-
|
171
|
-
RSpec/NotToNot:
|
172
|
-
EnforcedStyle: to_not
|
173
|
-
|
174
|
-
RSpec/VerifiedDoubles:
|
175
|
-
Enabled: false
|