Skip to content

Commit

Permalink
Enable ActiveSupportExtensionsEnabled option by default
Browse files Browse the repository at this point in the history
Follow up rubocop/rubocop#10699.

`ActiveSupportExtensionsEnabled` option is supported since RuboCop 1.31.0.
Please merge rubocop#729 first.
  • Loading branch information
koic committed Jul 13, 2022
1 parent 77ab1b1 commit d6a8a81
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 d6a8a81

Please sign in to comment.