From 6ab29f0abbf0db2ad62a1d3f65fcdbc02beb6f0b Mon Sep 17 00:00:00 2001 From: Molly Krumholz Date: Mon, 18 Sep 2023 11:27:45 -0600 Subject: [PATCH] SHARC-212 Update rubocop exclude inheritance --- panolint-rails-rubocop.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panolint-rails-rubocop.yml b/panolint-rails-rubocop.yml index b621e6e..9b83019 100644 --- a/panolint-rails-rubocop.yml +++ b/panolint-rails-rubocop.yml @@ -15,7 +15,13 @@ require: - rubocop-rails - rubocop-rspec +# This `inherit_mode` merges this repo's "Exclude" list with the list from +# `panolint-ruby`, which this config inherits from. When a repo uses this gem, +# and inherits from this config, it then inherits the merged exclusions list. AllCops: + inherit_mode: + merge: + - Exclude Exclude: - "db/schema.rb" - "db/migrate/**/*"