1.0.1 • Published 9 years ago
textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet v1.0.1
textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet 
全角と半角アルファベットを混在をチェックするtextlintルール
設定で全角または半角アルファベットどちらを利用するかを変更できます。 デフォルトでは半角アルファベットを利用するようにチェックします。
OK:
ABCは半角NG:
ABCは全角Install
Install with npm:
npm install textlint-rule-no-mixed-zenkaku-and-hankaku-alphabetUsage
Via .textlintrc(Recommended)
{
"rules": {
"no-mixed-zenkaku-and-hankaku-alphabet": true
}
}Via CLI
textlint --rule no-mixed-zenkaku-and-hankaku-alphabet README.mdOptions
prefer:"全角"または"半角"を指定します- デフォルトは
"半角"です
- デフォルトは
Example
.textlintrc:
{
"rules": {
"no-mixed-zenkaku-and-hankaku-alphabet": {
"prefer": "全角"
}
}
}OK:
ABCは全角NG:
ABCは半角Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test:
npm i -d && npm testContributing
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
1.0.1
9 years ago