textlint-rule-ng-word-pattern

1.0.0 • Public • Published

textlint-rule-ng-word-pattern

Forked from https://github.com/KeitaMoromizato/textlint-rule-ng-word.git

textlint rule that check NG word.

Installation

npm install textlint-rule-ng-word-pattern

Usage

Via .textlintrc

{
    "rules": {
        "ng-word-pattern": {
            "words": ["NG", "No Good"]
        }
    }
}
{
    "rules": {
        "ng-word-pattern": {
            "patterns": [{
                "pattern": "NG",
                "flags": "i"
            }, {
                "pattern": "No ?Good",
                "flags": "i"
            }]
        }
    }
}

Via CLI

textlint --rule ng-word-pattern README.md

Tests

npm test

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i textlint-rule-ng-word-pattern

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.1 kB

Total Files

6

Last publish

Collaborators

  • yo1000