Skip to content

Commit 3476694

Browse files
committed
Regenerate rubocop_todo file
Disable the Style/Documentation rule by default
1 parent c8144ac commit 3476694

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ Style/SymbolArray:
2020

2121
Style/WordArray:
2222
EnforcedStyle: brackets
23+
24+
Style/Documentation:
25+
Enabled: false

.rubocop_todo.yml

Lines changed: 13 additions & 17 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-11-18 03:06:45 UTC using RuboCop version 1.23.0.
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,30 +14,26 @@ Gemspec/DateAssignment:
1414
Exclude:
1515
- 'meilisearch.gemspec'
1616

17-
# Offense count: 35
17+
# Offense count: 1
18+
# Cop supports --auto-correct.
19+
# Configuration parameters: Include.
20+
# Include: **/*.gemspec
21+
Gemspec/RequireMFA:
22+
Exclude:
23+
- 'meilisearch.gemspec'
24+
25+
# Offense count: 32
1826
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
1927
# IgnoredMethods: refine
2028
Metrics/BlockLength:
21-
Max: 500
29+
Max: 512
2230

2331
# Offense count: 1
2432
# Configuration parameters: CountComments, CountAsOne.
2533
Metrics/ClassLength:
26-
Max: 300
34+
Max: 271
2735

28-
# Offense count: 1
36+
# Offense count: 2
2937
Naming/AccessorMethodName:
3038
Exclude:
3139
- 'lib/meilisearch/index.rb'
32-
33-
# Offense count: 7
34-
# Configuration parameters: AllowedConstants.
35-
Style/Documentation:
36-
Exclude:
37-
- 'spec/**/*'
38-
- 'test/**/*'
39-
- 'lib/meilisearch.rb'
40-
- 'lib/meilisearch/client.rb'
41-
- 'lib/meilisearch/error.rb'
42-
- 'lib/meilisearch/http_request.rb'
43-
- 'lib/meilisearch/index.rb'

0 commit comments

Comments
 (0)