Add custom NodeVisitor subclass for Style/VariableNames

This commit is contained in:
fn ⌃ ⌥ 2021-11-09 09:26:00 -08:00
parent bd1a1a1fd4
commit c9ba487373
2 changed files with 18 additions and 12 deletions

View file

@ -38,7 +38,6 @@ module Ameba
class Greeting
def initialize(@badNamed = nil)
# ^ error: Var name should be underscore-cased: @bad_named, not @badNamed
# ^ error: Var name should be underscore-cased: bad_named, not badNamed
end
end
CRYSTAL