2018-10-06 07:40:35 -04:00
|
|
|
inherit_from: .rubocop_todo.yml
|
2018-10-19 12:32:30 -04:00
|
|
|
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
2018-11-03 09:58:02 -04:00
|
|
|
|
|
|
|
Layout/IndentHeredoc:
|
|
|
|
Enabled: false
|
2018-11-04 05:01:16 -05:00
|
|
|
|
|
|
|
Naming/MethodName:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/code_object_spec.rb'
|
|
|
|
- 'lib/pry/method.rb'
|
|
|
|
- 'lib/pry/wrapped_module.rb'
|
|
|
|
- 'lib/pry/code.rb'
|
2018-12-01 02:16:18 -05:00
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/pry/config/behavior.rb'
|
2019-02-24 17:00:27 -05:00
|
|
|
|
|
|
|
Layout/CommentIndentation:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-02-24 17:11:05 -05:00
|
|
|
|
|
|
|
Layout/MultilineMethodCallIndentation:
|
|
|
|
EnforcedStyle: indented
|
2019-02-26 19:22:32 -05:00
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-03-01 18:51:37 -05:00
|
|
|
|
|
|
|
# TODO: delete exclusions when we drop Ruby 1.9.3 support.
|
|
|
|
Style/ExpandPathArguments:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/pry/commands.rb'
|
|
|
|
- 'pry.gemspec'
|
2019-03-02 08:35:35 -05:00
|
|
|
|
|
|
|
Style/Semicolon:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/method_spec.rb'
|
|
|
|
|
|
|
|
Style/SingleLineMethods:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/method_spec.rb'
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-03-02 09:01:18 -05:00
|
|
|
|
|
|
|
Style/StringLiterals:
|
|
|
|
Enabled: false
|
2019-03-02 09:26:36 -05:00
|
|
|
|
|
|
|
# TODO: delete this rule when we drop Ruby 1.9.3 support.
|
|
|
|
Style/SymbolArray:
|
|
|
|
EnforcedStyle: brackets
|
2019-03-03 10:37:58 -05:00
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 90
|