You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="#install">How To Use</a> • <ahref="/CONTRIBUTING.md">Contributing</a> • <ahref="http://roadmap.htmlhint.io/">Roadmap</a> • <ahref="https://htmlhint.io">Website</a>
26
+
<ahref="#install">How To Use</a> • <ahref="/CONTRIBUTING.md">Contributing</a> • <ahref="https://htmlhint.com">Website</a>
30
27
</p>
31
28
32
29
## Table of Contents
33
30
34
31
-**[Install](#install)**
35
32
-**[Settings](#settings)**
36
33
37
-
This linter plugin for [SublimeLinter][docs] provides an interface to [htmlhint](http://htmlhint.com/). It will be used with files that have the “HTML” syntax.
34
+
This linter plugin for [SublimeLinter][docs] provides an interface to [HTMLHint](http://htmlhint.com/). It will be used with files that have the “HTML” syntax.
38
35
39
36
## Install
37
+
40
38
SublimeLinter 3 must be installed in order to use this plugin. If SublimeLinter 3 is not installed, please follow the instructions [here](http://www.sublimelinter.com/en/stable/installation.html).
41
39
42
40
### Linter installation
41
+
43
42
Before using this plugin, you must ensure that `htmlhint` is installed on your system. To install `htmlhint`, do the following:
44
43
45
-
1. Install [Node.js](http://nodejs.org) (and [npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) on Linux).
44
+
1. Install [Node.js](https://nodejs.org) (and [npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) on Linux).
46
45
47
46
2. Install the latest `htmlhint` globally by typing the following in a terminal:
48
47
```
@@ -59,11 +58,13 @@ Or install `htmlhint` locally in your project folder (**you must have package.js
59
58
**Note:** This plugin requires `htmlhint` 0.9.13 or greater. Upgrade your existing installation by running step 2 above.
60
59
61
60
### Linter configuration
61
+
62
62
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.
63
63
64
64
Once you have installed and configured `htmlhint`, you can proceed to install the SublimeLinter-contrib-htmlhint plugin if it is not yet installed.
65
65
66
66
### Plugin installation
67
+
67
68
Please use [Package Control][pc] to install the linter plugin. This will ensure that the plugin will be updated when new versions are available. If you want to install from source so you can modify the source code, you probably know what you are doing so we won’t cover that here.
68
69
69
70
To install via Package Control, do the following:
@@ -84,7 +85,7 @@ The path to the `.htmlhintrc` file is cached, meaning if you create a new `.html
84
85
85
86
Project initially created by [@mmaday](https://github.com/mmaday) and transferred to the [HTMLHint](https://github.com/htmlhint) organization.
0 commit comments