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
**Note**: Install `html-validate` and create a `.htmlvalidate.json` at the project root with your [configurations](https://html-validate.org/usage/index.html).
21
-
22
20
```bash
23
-
npm install html-validate --save-dev
21
+
npm i -g html-validate
24
22
```
25
23
24
+
**Note**: You must have `html-validate` installed globally and create a `.htmlvalidate.json` at the project root with your [configurations](https://html-validate.org/usage/index.html).
25
+
26
26
## Usage
27
27
28
28
In your webpack configuration (development builds):
@@ -31,13 +31,9 @@ In your webpack configuration (development builds):
@@ -68,24 +64,11 @@ Specify a different configuration file.
68
64
69
65
**Note:** For your custom configuration omit the `.json` extension and supply the name only.
70
66
71
-
### `global`
72
-
73
-
- Type: `boolean`
74
-
- Default: `false`
75
-
76
-
Specify the run context of html-validate.
77
-
78
-
**Note:** If you installed `html-validate` globally, set the value to `true`.
79
-
80
67
## Features
81
68
82
69
-`html-validate`[performs all validation locally](https://html-validate.org/#offline) which means you can use `html-validate` and `html-validate-webpack-plugin` offline.
0 commit comments