Fix uninitialized constant with HamlLint::LinterRegistry
The migration pod for the GitLab Helm Chart was failing because of the NameError:
uninitialized constant HamlLint::Linter::NoPlainNodes::LinterRegistry
We now explicitly specify ::HamlLint::LinterRegistry
to avoid resolution
errors.
Because all files in lib
are eager loaded, lib/haml_lint
is always loaded, even in
production mode. To avoid this, move the directory to haml_lint
.
Edited by Stan Hu