forked from joeyates/imap-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
113 lines (96 loc) · 3.21 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-12-17 14:54:13 UTC using RuboCop version 1.23.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 17
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'lib/imap/backup/configuration/asker.rb'
- 'spec/unit/imap/backup/account/connection_spec.rb'
- 'spec/unit/imap/backup/account/folder_spec.rb'
- 'spec/unit/imap/backup/configuration/account_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowComments.
Lint/UselessMethodDefinition:
Exclude:
- 'lib/imap/backup/configuration/account.rb'
- 'lib/imap/backup/configuration/asker.rb'
# Offense count: 16
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 34
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine, context, describe, feature, shared_examples, shared_examples_for
Metrics/BlockLength:
Max: 27
# Offense count: 3
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 167
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 9
# Offense count: 25
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 25
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 136
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 10
# Offense count: 2
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'lib/email/provider/default.rb'
- 'spec/unit/email/provider/default_spec.rb'
# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/unit/email/provider/gmail_spec.rb'
# Offense count: 203
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 16
# Offense count: 45
RSpec/NestedGroups:
Max: 6
# Offense count: 1
# Cop supports --auto-correct.
Style/ExplicitBlockArgument:
Exclude:
- 'lib/imap/backup/cli/helpers.rb'
# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/imap/backup/cli/utils.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantBegin:
Exclude:
- 'lib/imap/backup/account/connection.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'lib/imap/backup/cli/backup.rb'
- 'lib/imap/backup/cli/restore.rb'