Skip to content

Commit

Permalink
Add jobs & mailers to default Rails/ActionFilter config
Browse files Browse the repository at this point in the history
They use the same `filter`/`action` API.
  • Loading branch information
ojab committed May 27, 2022
1 parent 3a93706 commit c6c4fda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Enable `Rails/ActionFilter` cop for jobs and mailers by default. ([@ojab][])
2 changes: 2 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Rails/ActionFilter:
- filter
Include:
- app/controllers/**/*.rb
- app/jobs/**/*.rb
- app/mailers/**/*.rb

Rails/ActiveRecordAliases:
Description: >-
Expand Down

0 comments on commit c6c4fda

Please sign in to comment.