Skip to content

Commit d21ccfc

Browse files
committed
Re-generate .rubocop_todo.yml
...after too many optional params offense in MeiliSearch::HTTPRequest#http_post
1 parent 128f0ae commit d21ccfc

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.rubocop_todo.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2021-10-12 19:14:29 UTC using RuboCop version 1.20.0.
3+
# on 2021-10-27 18:13:40 UTC using RuboCop version 1.22.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -14,18 +14,29 @@ Gemspec/DateAssignment:
1414
Exclude:
1515
- 'meilisearch.gemspec'
1616

17-
# Offense count: 35
17+
# Offense count: 1
18+
# Cop supports --auto-correct.
19+
Layout/HeredocIndentation:
20+
Exclude:
21+
- 'spec/meilisearch/index/documents_spec.rb'
22+
23+
# Offense count: 32
1824
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
1925
# IgnoredMethods: refine
2026
Metrics/BlockLength:
21-
Max: 500
27+
Max: 498
2228

23-
# Offense count: 1
29+
# Offense count: 2
2430
# Configuration parameters: CountComments, CountAsOne.
2531
Metrics/ClassLength:
26-
Max: 300
32+
Max: 289
2733

2834
# Offense count: 1
35+
# Configuration parameters: Max, CountKeywordArgs.
36+
Metrics/ParameterLists:
37+
MaxOptionalParameters: 4
38+
39+
# Offense count: 2
2940
Naming/AccessorMethodName:
3041
Exclude:
3142
- 'lib/meilisearch/index.rb'

0 commit comments

Comments
 (0)