Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 710 Bytes

README.md

File metadata and controls

49 lines (34 loc) · 710 Bytes

textlint-rule-period-in-header

textlint rule

textlint rule that check with or without period in header.

By default, no period mark at end of header.

[OK]

# header

[NG]

# header.

Install

npm install textlint-rule-period-in-header

Usage

{
  "rules": {
    "period-in-header": true
  }
}

Options

{
  // Prefer to use period mark. (default is no period)
  // You can select period mark from `periodMarks`.
  "periodMark": "",
  // Built-in recognized period mark list.
  "periodMarks": [".", "。", "."]
}

License

MIT License