.rubocop.yml in LittleWeasel-5.0.5 vs .rubocop.yml in LittleWeasel-5.0.6

- old
+ new

@@ -11,10 +11,12 @@ - 'init/*' - 'Rakefile' - '*.gemspec' - 'spec/**/*' - 'vendor/**/*' + - 'scratch*.rb' + - 'snippets*.rb' # Align the elements of a hash literal if they span more than one line. Layout/HashAlignment: EnforcedLastArgumentHashStyle: always_ignore @@ -113,21 +115,24 @@ - '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. Metrics/PerceivedComplexity: Max: 10 -Naming/FileName: - Exclude: - - 'lib/LittleWeasel.rb' +NestedGroups: + Max: 4 + +# Naming/FileName: +# Exclude: +# - 'lib/file.rb' # Allow `downcase == ` instead of forcing `casecmp` Performance/Casecmp: Enabled: false