module HamlI18nLint

Lint for the lines that needs i18n

Constants

VERSION

Public Class Methods

linter() click to toggle source
# File lib/haml_i18n_lint.rb, line 13
def linter
  if Haml::VERSION.start_with?('5')
    ::HamlI18nLint::Linter5
  else
    ::HamlI18nLint::Linter
  end
end