Calling haml-lint through ruby -S haml-lint... is not consistent with the behavior in other linter packages, and thus makes configuration more confusing.
ex: "executable": ["<ruby version manager>", "exec", "--", "haml-lint"] in the configuration file results in /path/to/rbenv exec -- haml-lint -S haml-lint ...
Calling
haml-lint
throughruby -S haml-lint...
is not consistent with the behavior in other linter packages, and thus makes configuration more confusing.ex:
"executable": ["<ruby version manager>", "exec", "--", "haml-lint"]
in the configuration file results in/path/to/rbenv exec -- haml-lint -S haml-lint ...
See https://github.com/SublimeLinter/SublimeLinter-eslint/blob/master/linter.py#L77 and https://github.com/SublimeLinter/SublimeLinter-rubocop/blob/master/linter.py#L40.