textlint-rule-no-hankaku-kana

textlint rule that disallow to use 半角カタカナ.

Usage no npm install needed!

<script type="module">
  import textlintRuleNoHankakuKana from 'https://cdn.skypack.dev/textlint-rule-no-hankaku-kana';
</script>

README

textlint-rule-no-hankaku-kana Build Status

textlint rule that disallow to use 半角カタカナ.

半角カナの利用を禁止するtextlintルール。

半角カナ(はんかくカナ)、半角片仮名(はんかくかたかな, Halfwidth Katakana)とは、幅が半分(半角)の片仮名文字の事。

半角カナとしては以下を対象としています。

  • Halfwidth CJK punctuation(U+FF61〜FF64)
  • Halfwidth Katakana variants(U+FF65〜FF9F)

Install

Install with npm:

npm install textlint-rule-no-hankaku-kana

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "no-hankaku-kana": true
    }
}

Via CLI

textlint --rule no-hankaku-kana README.md

Changelog

See Releases page.

Further Reading

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.

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

Author

License

MIT © azu