ohakutsu / textlint-rule-period-in-header

textlint rule that check with or without period in header.

Home Page:https://www.npmjs.com/package/textlint-rule-period-in-header

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

textlint rule that check with or without period in header.

https://www.npmjs.com/package/textlint-rule-period-in-header

License:MIT License


Languages

Language:TypeScript 100.0%