cops/style.yml in ruboconf-1.11.0 vs cops/style.yml in ruboconf-1.12.0
- old
+ new
@@ -38,10 +38,13 @@
Enabled: true
Style/EnvHome:
Enabled: true
+Style/ExactRegexpMatch:
+ Enabled: true
+
Style/FetchEnvVar:
Enabled: true
Style/FileEmpty:
Enabled: true
@@ -136,35 +139,44 @@
Style/OperatorMethodCall:
Enabled: true
Style/PercentLiteralDelimiters:
PreferredDelimiters:
- default: '()'
- '%i': '()'
- '%I': '()'
- '%r': '()'
- '%w': '()'
- '%W': '()'
+ default: "()"
+ "%i": "()"
+ "%I": "()"
+ "%r": "()"
+ "%w": "()"
+ "%W": "()"
Style/QuotedSymbols:
Enabled: true
+Style/RedundantArrayConstructor:
+ Enabled: true
+
Style/RedundantArgument:
Enabled: true
Style/RedundantConstantBase:
Enabled: true
+Style/RedundantCurrentDirectoryInPath:
+ Enabled: true
+
Style/RedundantDoubleSplatHashBraces:
Enabled: true
Style/RedundantEach:
Enabled: true
Style/RedundantFetchBlock:
Enabled: true
+Style/RedundantFilterChain:
+ Enabled: true
+
Style/RedundantFreeze:
Enabled: true
Style/RedundantHeredocDelimiterQuotes:
Enabled: true
@@ -173,19 +185,28 @@
Enabled: true
Style/RedundantLineContinuation:
Enabled: true
+Style/RedundantRegexpArgument:
+ Enabled: true
+
+Style/RedundantRegexpConstructor:
+ Enabled: true
+
Style/RedundantSelf:
Enabled: true
Style/RedundantSelfAssignmentBranch:
Enabled: true
Style/RedundantStringEscape:
Enabled: true
+Style/ReturnNilInPredicateMethodDefinition:
+ Enabled: true
+
Style/SelectByRegexp:
Enabled: true
Style/StringChars:
Enabled: true
@@ -195,6 +216,9 @@
Style/SymbolArray:
EnforcedStyle: brackets
Style/TrailingCommaInHashLiteral:
+ Enabled: true
+
+Style/YAMLFileRead:
Enabled: true