Skip to content

Commit ddb6fc5

Browse files
committed
Update version requirement to 0.9.10 which handles custom format --format argument.
1 parent c681ee6 commit ddb6fc5

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Before using this plugin, you must ensure that `htmlhint` is installed on your s
2020

2121
1. If you are using `nvm` and `zsh`, ensure that the line to load `nvm` is in `.zshenv` and not `.zshrc`.
2222

23-
**Note:** This plugin requires `htmlhint` 0.9.8 or greater. Upgrade your existing installation by running step 2 above.
23+
**Note:** This plugin requires `htmlhint` 0.9.10 or greater. Upgrade your existing installation by running step 2 above.
2424

2525
### Linter configuration
2626
In order for `htmlhint` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. Before going any further, please read and follow the steps in [“Finding a linter executable”](http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#finding-a-linter-executable) through “Validating your PATH” in the documentation.

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Htmlhint(Linter):
2222
cmd = ('htmlhint', '--format', 'json')
2323
version_args = '--version'
2424
version_re = r'(?P<version>\d+\.\d+\.\d+)'
25-
version_requirement = '>= 0.9.8'
25+
version_requirement = '>= 0.9.10'
2626
# empty regex so plugin initializes properly
2727
regex = r''
2828
tempfile_suffix = '-'

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"install": "messages/install.txt",
33
"1.0.1": "messages/1.0.1.txt",
4-
"1.1.0": "messages/1.1.0.txt"
4+
"1.1.0": "messages/1.1.0.txt",
5+
"1.1.1": "messages/1.1.1.txt"
56
}

messages/1.1.1.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
SublimeLinter-contrib-htmlhint 1.1.1
2+
------------------------------------
3+
This plugin has been rewritten to handle the latest output formats of htmlhint version 0.9.10 and later. It now parses the JSON output of htmlhint.
4+
5+
*** NOTE: htmlhint version 0.9.10 and greater is now required. ***
6+
7+
Upgrade your existing htmlhint to the latest by running:
8+
npm install -g htmlhint@latest
9+
10+
Please refer to https://github.com/mmaday/SublimeLinter-contrib-htmlhint for complete installation instructions.

0 commit comments

Comments
 (0)