Add another word to ignore
parent
0c84cd0d01
commit
6f747f16a0
|
@ -214,7 +214,7 @@ class Msftidy
|
|||
words.each do |word|
|
||||
if word =~ /^['"].+['"]$/ or word =~ /^[a-z].*[A-Z].+$/ or word =~ /^.+\(\)$/
|
||||
next
|
||||
elsif %w{and or the for via}.include?(word)
|
||||
elsif %w{and or the for via to}.include?(word)
|
||||
next
|
||||
elsif word =~ /^[a-z]+$/
|
||||
warn("Improper capitalization in module title: '#{word}...'")
|
||||
|
|
Loading…
Reference in New Issue