Add another word to ignore

unstable
sinn3r 2012-12-13 12:26:32 -06:00
parent 0c84cd0d01
commit 6f747f16a0
1 changed files with 1 additions and 1 deletions

View File

@ -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}...'")