npm run textlint
# textlint -f pretty-error index.html
Add "html"
Processor plugin
{
"plugins": [
"html"
],
"rules": {
"sentence-length": {
"max": 15
}
}
}
Edit index.html and Run.
A sentence length > 15 and throw Error.