turboladen / tailor

A RubyGem that allows for checking standard styling of Ruby files.
146 stars 18 forks source link

Other checks I'd like to see #91

Open jaymzh opened 12 years ago

jaymzh commented 12 years ago

(as requested from the foodcritic tracker)

Don't do these bad things:

if(foo)

if (foo)

if foo
  bar
    baz
  bing
end

puts "#{bing}"
jaymzh commented 12 years ago

Also, can you add a check for " vs ' ? i.e. don't use double quotes for strings that don't need interpolation