summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
blob: d767990f7ed30585fc91090bd02b6dc986cf34fd (plain)
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-21 00:51:00 +0200 using RuboCop version 0.66.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: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
  Exclude:
    - 'pry.gemspec'

# Offense count: 1
Lint/ShadowedException:
  Exclude:
    - 'lib/pry/method.rb'

# Offense count: 1
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
  Exclude:
    - 'lib/pry/helpers/table.rb'

# Offense count: 88
Metrics/AbcSize:
  Max: 48

# Offense count: 191
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 794

# Offense count: 1
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
  Max: 4

# Offense count: 19
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 317

# Offense count: 32
Metrics/CyclomaticComplexity:
  Max: 32

# Offense count: 114
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 101

# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 6

# Offense count: 29
Metrics/PerceivedComplexity:
  Max: 25

# Offense count: 1
Naming/AccessorMethodName:
  Exclude:
    - 'lib/pry/method/weird_method_locator.rb'

# Offense count: 1
Naming/BinaryOperatorParameterName:
  Exclude:
    - 'lib/pry/method.rb'

# Offense count: 5
Naming/ConstantName:
  Exclude:
    - 'lib/pry/input_completer.rb'
    - 'spec/completion_spec.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: lowercase, uppercase
Naming/HeredocDelimiterCase:
  Exclude:
    - 'spec/helpers/table_spec.rb'

# Offense count: 16
# Configuration parameters: Blacklist.
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
  Exclude:
    - 'lib/pry/commands/easter_eggs.rb'
    - 'lib/pry/commands/stat.rb'
    - 'lib/pry/core_extensions.rb'
    - 'lib/pry/pry_class.rb'
    - 'spec/command_spec.rb'
    - 'spec/commands/cat_spec.rb'
    - 'spec/commands/edit_spec.rb'
    - 'spec/commands/show_source_spec.rb'
    - 'spec/commands/whereami_spec.rb'
    - 'spec/helpers/table_spec.rb'
    - 'spec/pry_repl_spec.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
  Exclude:
    - 'lib/pry/wrapped_module/candidate.rb'

# Offense count: 25
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
  Enabled: false

# Offense count: 10
Security/Eval:
  Exclude:
    - 'Rakefile'
    - 'lib/pry/cli.rb'
    - 'lib/pry/commands/show_info.rb'
    - 'lib/pry/input_completer.rb'
    - 'spec/indent_spec.rb'
    - 'spec/wrapped_module_spec.rb'

# Offense count: 39
Style/CaseEquality:
  Enabled: false

# Offense count: 27
Style/CommentedKeyword:
  Exclude:
    - 'spec/fixtures/example_nesting.rb'

# Offense count: 138
Style/Documentation:
  Enabled: false