textlint-rule / textlint-rule-prh

textlint rule for prh.
MIT License
82 stars 6 forks source link

Feature: add prh to message #42

Closed Leko closed 6 years ago

Leko commented 6 years ago

Fixed #5

Changes

Added prh field to message if exists.

Example (prh field exists):

version: 1
rules:
  - expected: デフォルト
    pattern:  ディフォルト
    prh: 表記をデフォルトに統一してください
ディフォルト => デフォルト
表記をデフォルトに統一してください

Example (prh not exists):

version: 1
rules:
  - expected: jQuery
JQUERY => jQuery