Skip to content

Commit

Permalink
Merge pull request #746 from koic/enable_global_active_support_extens…
Browse files Browse the repository at this point in the history
…ions_enabled_option

Enable `ActiveSupportExtensionsEnabled` option by default
  • Loading branch information
koic committed Jul 15, 2022
2 parents e5b727a + d6a8a81 commit c1d5cd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -0,0 +1 @@
* [#746](https://github.com/rubocop/rubocop-rails/pull/746): Enable `ActiveSupportExtensionsEnabled` option by default. ([@koic][])
3 changes: 3 additions & 0 deletions config/default.yml
Expand Up @@ -10,6 +10,9 @@ AllCops:
# Exclude db/schema.rb and db/[CONFIGURATION_NAMESPACE]_schema.rb by default.
# See: https://guides.rubyonrails.org/active_record_multiple_databases.html#setting-up-your-application
- db/*schema.rb
# Enable checking Active Support extensions.
# See: https://docs.rubocop.org/rubocop/configuration.html#enable-checking-active-support-extensions
ActiveSupportExtensionsEnabled: true
# What version of Rails is the inspected code using? If a value is specified
# for TargetRailsVersion then it is used. Acceptable values are specified
# as a float (i.e. 5.1); the patch version of Rails should not be included.
Expand Down

0 comments on commit c1d5cd7

Please sign in to comment.