.rubocop.yml in logstash_writer-0.0.3 vs .rubocop.yml in logstash_writer-0.0.4
- old
+ new
@@ -1,8 +1,14 @@
AllCops:
TargetRubyVersion: 2.4
DisabledByDefault: true
+ Exclude:
+ - 'db/schema.rb'
+ - 'bundle/**/*'
+ - 'vendor/**/*'
+ - 'node_modules/**/*'
+ - 'public/**/*'
# Prefer &&/|| over and/or.
Style/AndOr:
Enabled: true
@@ -78,20 +84,26 @@
# No trailing whitespace.
Layout/TrailingWhitespace:
Enabled: true
-Lint/BlockAlignment:
+Lint/Debugger:
Enabled: true
+Layout/BlockAlignment:
+ Enabled: true
+
# Align `end` with the matching keyword or starting expression except for
# assignments, where it should be aligned with the LHS.
-Lint/EndAlignment:
+Layout/EndAlignment:
Enabled: true
EnforcedStyleAlignWith: variable
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
Lint/RequireParentheses:
+ Enabled: true
+
+Lint/ShadowingOuterLocalVariable:
Enabled: true
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented