2018-10-06 19:40:35 +08:00
|
|
|
inherit_from: .rubocop_todo.yml
|
2018-10-20 00:32:30 +08:00
|
|
|
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
2018-11-03 21:58:02 +08:00
|
|
|
|
|
|
|
Layout/IndentHeredoc:
|
|
|
|
Enabled: false
|
2018-11-04 18:01:16 +08: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 08:16:18 +01:00
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/pry/config/behavior.rb'
|
2019-02-25 00:00:27 +02:00
|
|
|
|
|
|
|
Layout/CommentIndentation:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-02-25 00:11:05 +02:00
|
|
|
|
|
|
|
Layout/MultilineMethodCallIndentation:
|
|
|
|
EnforcedStyle: indented
|
2019-02-27 02:22:32 +02:00
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-03-02 01:51:37 +02:00
|
|
|
|
|
|
|
# TODO: delete exclusions when we drop Ruby 1.9.3 support.
|
|
|
|
Style/ExpandPathArguments:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/pry/commands.rb'
|
|
|
|
- 'pry.gemspec'
|
2019-03-02 15:35:35 +02:00
|
|
|
|
|
|
|
Style/Semicolon:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/method_spec.rb'
|
|
|
|
|
|
|
|
Style/SingleLineMethods:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/method_spec.rb'
|
|
|
|
- 'spec/fixtures/example_nesting.rb'
|
2019-03-02 16:01:18 +02:00
|
|
|
|
|
|
|
Style/StringLiterals:
|
|
|
|
Enabled: false
|
2019-03-02 16:26:36 +02:00
|
|
|
|
|
|
|
# TODO: delete this rule when we drop Ruby 1.9.3 support.
|
|
|
|
Style/SymbolArray:
|
|
|
|
EnforcedStyle: brackets
|
2019-03-03 17:37:58 +02:00
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 90
|
2019-03-08 00:46:50 +02:00
|
|
|
|
|
|
|
Bundler/OrderedGems:
|
|
|
|
Enabled: false
|