Closed TomasBarry closed 5 years ago
In Sublime Text 3, there is was a cls.syntax deprecation warning in the console as a result of using:
cls.syntax
syntax = 'ruby haml'
This removes this warning by using the selector configuration:
selector
defaults = { 'selector': 'text.haml' }
On top of this, it is no longer required to have .haml-lint.yml present and haml_lint can make use of the default linting rules.
.haml-lint.yml
haml_lint
The args and temp_file to lint can be specified in the SublimeLinter.sublime-settings file.
args
temp_file
SublimeLinter.sublime-settings
@kaste, I have addressed your comments. Thanks for the thorough look.
Looks great, thanks! @kaste for the final word.
LGTM
In Sublime Text 3, there is was a
cls.syntax
deprecation warning in the console as a result of using:This removes this warning by using the
selector
configuration:On top of this, it is no longer required to have
.haml-lint.yml
present andhaml_lint
can make use of the default linting rules.The
args
andtemp_file
to lint can be specified in theSublimeLinter.sublime-settings
file.