diff --git a/.rubocop.yml b/.rubocop.yml index 09eabaa0..5b96942b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,23 +5,25 @@ require: - rubocop-factory_bot - rubocop-rspec_rails +inherit_mode: + merge: + - Exclude + AllCops: NewCops: enable Exclude: - - "vendor/*/**" - - "vendor/*" - - "db/schema.rb" - - "db/migrate/*.rb" - - "spec/features/**/*" - - "spec/spec_helper.rb" - - "spec/rails_helper.rb" - - "bin/*" - - "lib/*/**" - - "config/*/**" - - "config/*" - - "db/*" - - "Gemfile" - - "config.ru" + - vendor/bundle/**/* + - db/schema.rb + - db/migrate/*.rb + - spec/features/**/* + - spec/spec_helper.rb + - spec/rails_helper.rb + - bin/* + - lib/*/** + - config/**/* + - db/* + - Gemfile + - config.ru Metrics/MethodLength: Max: 20