Install
npm i -D posthtml-hint
Usage
Options
Rules [String|Object]
const hint = './path/to/.htmlhintrc'
Example
const readFileSync = const posthtml = const hint = /* options */const html =
Console
PostHTML HINT------------- ✖ error [10:12]Special characters must be escaped : [ > ]. ✖ error [12:3]Special characters must be escaped : [ < ]. ✖ error [12:21]Special characters must be escaped : [ < ]. ✖ error [12:30]Special characters must be escaped : [ > ]. ✖ error [15:17]Tag must be paired, no start tag: [ </h1> ] ⚠ 5 Errors
Maintainers
Michael Ciniawsky |
Contributing
See PostHTML Guidelines and contribution guide.