Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 339 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 339 Bytes

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.