forked from mvz/gir_ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop_todo.yml
More file actions
76 lines (63 loc) · 2.28 KB
/
Copy path.rubocop_todo.yml
File metadata and controls
76 lines (63 loc) · 2.28 KB
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
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# 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.
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'lib/gir_ffi/zero_terminated.rb'
Lint/MissingSuper:
Exclude:
- 'lib/ffi-gobject/ruby_closure.rb'
- 'lib/gir_ffi/builders/user_defined_builder.rb'
- 'lib/gir_ffi/struct_like_base.rb'
- 'test/minitest/stats_plugin.rb'
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 60
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 62
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 181
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 19
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 57
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 216
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 14
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- 'lib/ffi-glib/main_loop.rb'
- 'lib/ffi-gobject_introspection/i_type_info.rb'
- 'lib/gir_ffi/builders/constant_builder.rb'
- 'lib/gir_ffi/builders/user_defined_builder.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
Exclude:
- 'lib/ffi-glib/main_loop.rb'
- 'lib/ffi-gobject/ruby_closure.rb'
- 'lib/gir_ffi/builders/type_builder.rb'
Style/OptionalArguments:
Exclude:
- 'lib/ffi-glib/container_class_methods.rb'
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/ffi-gobject.rb'