Skip to content

Commit b38158e

Browse files
committed
rubocop: ignore style warnings for db schema
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).
1 parent 146d5ce commit b38158e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.rubocop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ AllCops:
1111
Performance:
1212
enabled: true
1313

14-
Style/FrozenStringLiteralComment:
14+
Style:
15+
Exclude:
16+
- db/schema.rb
17+
Layout:
1518
Exclude:
1619
- db/schema.rb
1720

0 commit comments

Comments
 (0)