.rubocop.yml in mad_flatter-3.0.0 vs .rubocop.yml in mad_flatter-3.0.1

- old
+ new

@@ -11,11 +11,11 @@ - 'init/*' - 'Rakefile' - '*.gemspec' - 'spec/**/*' - 'vendor/**/*' - - 'scratch.rb' + - 'scratch*.rb' # Align the elements of a hash literal if they span more than one line. Layout/HashAlignment: EnforcedLastArgumentHashStyle: always_ignore @@ -107,19 +107,18 @@ Metrics/CyclomaticComplexity: Max: 9 # Limit lines to 80 characters Layout/LineLength: - Max: 120 Exclude: - 'RakeFile' - 'spec/**/*.rb' # Avoid methods longer than 15 lines of code. Metrics/MethodLength: Max: 20 - IgnoredMethods: + AllowedMethods: - swagger_path - operation # A complexity metric geared towards measuring complexity for a human reader. @@ -177,13 +176,9 @@ AllowMultipleReturnValues: true # Prefer symbols instead of strings as hash keys. Style/StringHashKeys: Enabled: true - -Style/StringLiteralsInInterpolation: - Enabled: true - EnforcedStyle: double_quotes # Checks if configured preferred methods are used over non-preferred. Style/StringMethods: Enabled: true