.rubocop.yml in reek-3.10.1 vs .rubocop.yml in reek-3.10.2

- old
+ new

@@ -20,26 +20,20 @@ # Keyword arguments make long parameter lists readable Metrics/ParameterLists: CountKeywordArgs: false -# Indent one level for follow-up lines -Style/MultilineOperationIndentation: - EnforcedStyle: indented +Style/AccessorMethodName: + Exclude: + - 'lib/reek/context/visibility_tracker.rb' -# Allow small arrays of words with quotes -Style/WordArray: - MinSize: 3 +Style/Documentation: + Exclude: + - 'lib/reek/ast/sexp_extensions/send.rb' + - 'lib/reek/ast/sexp_extensions/super.rb' + - 'lib/reek/ast/sexp_extensions/variables.rb' -# Allow single-line method definitions -Style/SingleLineMethods: - Enabled: false - -# Always use raise to signal exceptions -Style/SignalException: - EnforcedStyle: only_raise - # Place . on the previous line Style/DotPosition: EnforcedStyle: trailing # Require empty lines between defs, except for one-line defs @@ -48,21 +42,28 @@ # Allow multiline block chains Style/MultilineBlockChain: Enabled: false +# Indent one level for follow-up lines +Style/MultilineMethodCallIndentation: + EnforcedStyle: indented + +# Indent one level for follow-up lines +Style/MultilineOperationIndentation: + EnforcedStyle: indented + +# There's nothing wrong with parallel assignment +Style/ParallelAssignment: + Enabled: false + # Allow Perl-style references to regex matches Style/PerlBackrefs: Enabled: false -Style/Documentation: - Exclude: - - 'lib/reek/ast/sexp_extensions/send.rb' - - 'lib/reek/ast/sexp_extensions/super.rb' - - 'lib/reek/ast/sexp_extensions/variables.rb' - -Style/AccessorMethodName: - Exclude: - - 'lib/reek/context/visibility_tracker.rb' - -Style/ParallelAssignment: +# Allow single-line method definitions +Style/SingleLineMethods: Enabled: false + +# Allow small arrays of words with quotes +Style/WordArray: + MinSize: 4