Skip to content

Commit ab26995

Browse files
committed
Add more words to ignore
1 parent 9a2cb7e commit ab26995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def check_title_casing
212212
if @source =~ /'Name'[[:space:]]*=>[[:space:]]*['|"](.+)['|"],*$/
213213
words = $1.split
214214
words.each do |word|
215-
if %w{and or the for via to in}.include?(word)
215+
if %w{and or the for to in of as with a an}.include?(word)
216216
next
217217
elsif word =~ /^[a-z]+$/
218218
warn("Improper capitalization in module title: '#{word}'")

0 commit comments

Comments
 (0)