config/upstream.yml in cookstyle-7.9.0 vs config/upstream.yml in cookstyle-7.10.0

- old
+ new

@@ -2053,17 +2053,22 @@ Lint/SuppressedException: Description: "Don't suppress exceptions." StyleGuide: '#dont-hide-exceptions' Enabled: true AllowComments: true + AllowNil: true VersionAdded: '0.9' - VersionChanged: '0.81' + VersionChanged: '1.12' Lint/SymbolConversion: Description: 'Checks for unnecessary symbol conversions.' Enabled: pending VersionAdded: '1.9' + EnforcedStyle: strict + SupportedStyles: + - strict + - consistent Lint/Syntax: Description: 'Checks for syntax errors.' Enabled: true VersionAdded: '0.9' @@ -2487,10 +2492,11 @@ EnforcedStyleForLeadingUnderscores: disallowed SupportedStylesForLeadingUnderscores: - disallowed - required - optional + Safe: false Naming/MethodName: Description: 'Use the configured style when naming methods.' StyleGuide: '#snake-case-symbols-methods-vars' Enabled: true @@ -3172,10 +3178,11 @@ Style/Documentation: Description: 'Document classes and non-namespace modules.' Enabled: true VersionAdded: '0.9' + AllowedConstants: [] Exclude: - 'spec/**/*' - 'test/**/*' Style/DocumentationMethod: @@ -3670,10 +3677,11 @@ IgnoredPatterns: [] IncludedMacros: [] AllowParenthesesInMultilineCall: false AllowParenthesesInChaining: false AllowParenthesesInCamelCaseMethod: false + AllowParenthesesInStringInterpolation: false EnforcedStyle: require_parentheses SupportedStyles: - require_parentheses - omit_parentheses @@ -4488,9 +4496,16 @@ Style/StderrPuts: Description: 'Use `warn` instead of `$stderr.puts`.' StyleGuide: '#warn' Enabled: true VersionAdded: '0.51' + +Style/StringChars: + Description: 'Checks for uses of `String#split` with empty string or regexp literal argument.' + StyleGuide: '#string-chars' + Enabled: pending + Safe: false + VersionAdded: '1.12' Style/StringConcatenation: Description: 'Checks for places where string concatenation can be replaced with string interpolation.' StyleGuide: '#string-interpolation' Enabled: true