Skip to content

Commit

Permalink
Exclude schema.rb from rubocop lint (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaysiz authored Feb 14, 2024
1 parent 4008170 commit ddaa046
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ Layout/EmptyLinesAroundAccessModifier:

Layout/EmptyLinesAroundBlockBody:
Enabled: true
Exclude:
- 'db/schema.rb'

# In a regular class definition, no empty lines around the body.
Layout/EmptyLinesAroundClassBody:
Expand Down Expand Up @@ -153,6 +155,7 @@ Style/FrozenStringLiteralComment:
- 'activestorage/db/update_migrate/**/*.rb'
- 'actionmailbox/db/migrate/**/*.rb'
- 'actiontext/db/migrate/**/*.rb'
- 'db/schema.rb'

Style/RedundantFreeze:
Enabled: true
Expand Down

0 comments on commit ddaa046

Please sign in to comment.