Skip to content

Commit f361219

Browse files
authored
Merge pull request rubocop#797 from koic/add_several_dir_to_exclude_to_prevent_slow_investigation
[Fix rubocop#796] Add several directories to `Exclude`
2 parents 4289731 + 8b523d8 commit f361219

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [#796](https://github.com/rubocop/rubocop-rails/issues/796): Add several directories to `Exclude` to prevent slow investigation. ([@koic][])

config/default.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ AllCops:
1010
# Exclude db/schema.rb and db/[CONFIGURATION_NAMESPACE]_schema.rb by default.
1111
# See: https://guides.rubyonrails.org/active_record_multiple_databases.html#setting-up-your-application
1212
- db/*schema.rb
13+
- log/**/*
14+
- public/**/*
15+
- storage/**/*
1316
# Enable checking Active Support extensions.
1417
# See: https://docs.rubocop.org/rubocop/configuration.html#enable-checking-active-support-extensions
1518
ActiveSupportExtensionsEnabled: true

0 commit comments

Comments
 (0)