Skip to content

hata6502/textlint-rule-no-hoso-kinshi-yogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textlint-rule-no-hoso-kinshi-yogo

textlint rule

放送禁止用語をチェックするtextlintルール

参照: 放送禁止用語一覧

1:1  error    放送禁止用語「サラブレッド」が含まれています。 備考: 比喩表現に注意。サラブレッドには厳格な血統登録が行われ、1頭1頭に全て血統書が存在する 参照: http://monoroch.net/kinshi/  no-hoso-kinshi-yogo
1:8  ✓ error  放送禁止用語「魚屋」が含まれています。 言い換え語: 鮮魚商 備考: 職業名 参照: http://monoroch.net/kinshi/                                                                    no-hoso-kinshi-yogo

Install

Install with npm:

npm install textlint-rule-no-hoso-kinshi-yogo

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "no-hoso-kinshi-yogo": true
    }
}

Via CLI

textlint --rule no-hoso-kinshi-yogo README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

Disclaimer

Please see DISCLAIMER.md.

License

MIT © Hood

About

放送禁止用語をチェックするtextlintルール

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published