Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

textlint-rule-ja-no-abusage

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textlint-rule-ja-no-abusage

よくある誤用をチェックするtextlintルール

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
4
Created
Source

textlint-rule-ja-no-abusage Actions Status: test

よくある誤用をチェックするtextlintルール

など。詳細は辞書の定義を参照

Install

Install with npm:

npm install textlint-rule-ja-no-abusage

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "ja-no-abusage": true
    }
}

Via CLI

textlint --rule ja-no-abusage README.md

仕組み

2種類の辞書ベースを持っています。

  • 形態素解析結果をベースにしたmorpheme-match
    • 誤爆しそうなものなど品詞レベルで限定したいものはこちら
  • 正規表現をベースにしたtextlint-rule-prh
    • 単純なマッチで問題ないものはこちら

の2種類を使い分けています。

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

Author

License

MIT © azu

Keywords

textlint

FAQs

Package last updated on 24 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts