ohakutsu / textlint-with-qiita-rule

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textlint-with-qiita-rule

⚠️ This repository is not an official Qiita.

The rules for prh are in https://github.com/ohakutsu/prh-rule-qiita.

Usage

  1. Clone this repository and initialize submodule.
$ git clone https://github.com/ohakutsu/textlint-with-qiita-rule.git
$ git submodule update --init --recursive
  1. Run sample.
$ yarn run textlint

textlint-with-qiita-rule/contents/sample.md
  1:1  ✓ error  qiita 株式会社 => Qiita株式会社  prh
  3:1  ✓ error  qiita => Qiita                   prh
  5:1  ✓ error  Qiita:Team => Qiita Team         prh
  7:1  ✓ error  Qiita Job => Qiita Jobs          prh

✖ 4 problems (4 errors, 0 warnings)
✓ 4 fixable problems.
Try to run: $ textlint --fix [file]

License

MIT

See LICENSE.

About

License:MIT License