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