Skip to content

Commit 3ae9e2d

Browse files
committed
Add rule for markdown files
This is an example of how to submit a rule.
1 parent 4c04196 commit 3ae9e2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

db/seeds.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,12 @@
539539
value: '(?i)omniauth\.rb',
540540
description: 'OmniAuth configuration file'
541541
},
542+
{
543+
name: 'markdown_file',
544+
rule_type_id: 1,
545+
value: '(?i)\.(md|markdown)\z',
546+
description: 'Markdown file'
547+
},
542548
]
543549
rules.each { |r| Rules.create(r) }
544550

0 commit comments

Comments
 (0)