Hard tabs for now
parent
52843c6a67
commit
32d2f7ffce
|
@ -121,13 +121,13 @@ class Msftidy
|
|||
end
|
||||
end
|
||||
|
||||
def check_snake_case_filename
|
||||
sep = File::SEPARATOR
|
||||
good_name = Regexp.new "^[a-z0-9_#{sep}]+\.rb$"
|
||||
unless @name =~ good_name
|
||||
warn "Filenames should be alphanum and snake case."
|
||||
end
|
||||
end
|
||||
def check_snake_case_filename
|
||||
sep = File::SEPARATOR
|
||||
good_name = Regexp.new "^[a-z0-9_#{sep}]+\.rb$"
|
||||
unless @name =~ good_name
|
||||
warn "Filenames should be alphanum and snake case."
|
||||
end
|
||||
end
|
||||
|
||||
def check_old_keywords
|
||||
max_count = 10
|
||||
|
|
Loading…
Reference in New Issue