Skip to content
textlint rule that disallow to use 半角カタカナ.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

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

You can’t perform that action at this time.