-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
cls.syntax
deprecation warning and use args
In Sublime Text 3, there is was a `cls.syntax` deprecation warning in the console as a result of using: ```python syntax = 'ruby haml' ``` This removes this warning by using the `selector` configuration: ```python 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. The `args` and `temp_file` to lint can be specified in the `SublimeLinter.sublime-settings` file.
- Loading branch information
1 parent
b76afa5
commit 5bfe0fb
Showing
2 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters