Skip to content

Commit 1a7bba4

Browse files
committed
Disable Rails/ActionFilter cop
Follow up #1149 (comment). This commit disables `Rails/ActionFilter` cop.
1 parent 5385121 commit 1a7bba4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* [#1039](https://github.com/rubocop/rubocop-rails/issues/1039): Deprecate `Rails/ActionFilter` cop. ([@koic][])
1+
* [#1039](https://github.com/rubocop/rubocop-rails/issues/1039): Deprecate `Rails/ActionFilter` cop; it will be disabled by default. ([@koic][])

config/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ Rails/ActionControllerTestCase:
9595

9696
Rails/ActionFilter:
9797
Description: 'Enforces consistent use of action filter methods.'
98-
Enabled: true
98+
Enabled: false
9999
VersionAdded: '0.19'
100+
VersionChanged: '<<next>>'
100101
EnforcedStyle: action
101102
SupportedStyles:
102103
- action

0 commit comments

Comments
 (0)