Skip to content

Latest commit

 

History

History

html-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

CLI example

Usage

npm run textlint
# textlint -f pretty-error index.html

textlintrc

Add "html" Processor plugin

{
  "plugins": [
    "html"
  ],
  "rules": {
    "sentence-length": {
      "max": 15
    }
  }
}

Test

Edit index.html and Run.

A sentence length > 15 and throw Error.