.rubocop.yml in countries-5.4.0 vs .rubocop.yml in countries-5.5.0

- old
+ new

@@ -1,24 +1,32 @@ -inherit_from: .rubocop_todo.yml AllCops: NewCops: enable + TargetRubyVersion: 2.7 Layout/LineLength: + Max: 120 + AllowedPatterns: ['^ *# '] Exclude: - countries.gemspec + - 'spec/**/*' +Metrics/MethodLength: + Enabled: false + +Style/Documentation: + Enabled: false + +Bundler/OrderedGems: + Enabled: false + Metrics/BlockLength: Exclude: - 'spec/**/*' - Rakefile - - 'spec/**/*' - 'lib/countries/tasks/*' -Style/RescueModifier: - Enabled: false - Style/CaseEquality: Exclude: - 'lib/countries/country/finder_methods.rb' Style/IfUnlessModifier: @@ -31,10 +39,11 @@ Lint/AmbiguousBlockAssociation: Exclude: - 'spec/perf_spec.rb' -Metrics/MethodLength: - Max: 20 - Metrics/ClassLength: Max: 130 + +Metrics/AbcSize: + Exclude: + - 'lib/countries/sources/cldr/*' \ No newline at end of file