Skip to content

Commit

Permalink
rubocop: ignore style warnings for db schema
Browse files Browse the repository at this point in the history
This suggests dumb things like treating date numbers like 2012_07_04
to be split at every third character. And it fights with the rails
autogeneration, which puts a blank line at the beginning of the block
(but rubocop really wants to remove it, so you go back and forth as
rails and rubocop are run).
  • Loading branch information
peff committed Oct 5, 2022
1 parent 146d5ce commit b38158e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ AllCops:
Performance:
enabled: true

Style/FrozenStringLiteralComment:
Style:
Exclude:
- db/schema.rb
Layout:
Exclude:
- db/schema.rb

Expand Down

0 comments on commit b38158e

Please sign in to comment.