-
Notifications
You must be signed in to change notification settings - Fork 194
/
.rubocop_todo.yml
64 lines (53 loc) · 2.08 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
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.65.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.
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 47
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 10
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 26
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 158
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 10
Minitest/AssertionInLifecycleHook:
Exclude:
- 'test/legacy/default_scopes_test.rb'
- 'test/legacy/relations_test.rb'
Minitest/MultipleAssertions:
Max: 16
# This cop supports safe autocorrection (--autocorrect).
Minitest/TestMethodName:
Exclude:
- 'test/legacy/core_test.rb'
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'test/legacy/core_test.rb'
- 'test/legacy/relations_test.rb'
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'lib/acts_as_paranoid.rb'
- 'lib/acts_as_paranoid/associations.rb'
- 'lib/acts_as_paranoid/core.rb'
- 'lib/acts_as_paranoid/relation.rb'
- 'lib/acts_as_paranoid/validations.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'lib/acts_as_paranoid/associations.rb'