Skip to content

Commit

Permalink
Change Rails/ApplicationRecord to ignore migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
fatkodima committed Sep 3, 2024
1 parent b59cecf commit 671c8bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#1342](https://github.com/rubocop/rubocop-rails/issues/1342): Change `Rails/ApplicationRecord` to ignore migrations. ([@fatkodima][])
4 changes: 3 additions & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ Rails/ApplicationRecord:
Enabled: true
SafeAutoCorrect: false
VersionAdded: '0.49'
VersionChanged: '2.5'
VersionChanged: '<<next>>'
Exclude:
- db/**/*.rb

Rails/ArelStar:
Description: 'Enforces `Arel.star` instead of `"*"` for expanded columns.'
Expand Down

0 comments on commit 671c8bd

Please sign in to comment.