rulesets/default.yml in runger_style-2.15.0 vs rulesets/default.yml in runger_style-2.16.0
- old
+ new
@@ -43,11 +43,11 @@
Layout/LineLength:
AllowedPatterns:
# Ignore line length if the line is a comment without any spaces; it's probably not something we
# can fix (e.g. a long file path):
- !ruby/regexp /^ *#? [\S]+$/
- # Ignore RSpec example descriptions:
- - !ruby/regexp /^ *it ['"].*['"].*do$/
+ # Ignore RSpec description strings:
+ - !ruby/regexp /^ *(context|describe|it) ['"].*['"].* do$/
Max: 100
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineOperationIndentation:
EnforcedStyle: indented