Skip to content

[WIP] 外来語(カタカナ)の書き方を扱うtextlintルールプリセット

License

Notifications You must be signed in to change notification settings

textlint-ja/textlint-rule-preset-foreign-language-writing

Repository files navigation

@textlint-ja/textlint-rule-preset-foreign-language-writing Actions Status

外来語のカタカナ表記などについて扱うtextlintルールプリセットです。

カタカナ表記については正解がないため、表記ゆれの統一のためにOpinionatedなルールが含まれます。

ルール一覧

原語が「fo」または「pho」の場合は、カタカナでは「フォ」とするのを原則とするtextlintルール

原語の語尾の-er,-or,-arをカタカナでは長音記号「ー」で表わすの原則とするtextlintルール

原語の語尾が-reの場合は長音記号「ー」を付けない、原語の語尾が-ture,-sureの場合は原則として長音記号「ー」を付けるtextlintルール

原語の語尾が-ware, -wearの場合は、原則として「ウェア」とするtextlintルール。

原語の語尾が-yの場合は、カタカナを長音記号「ー」で表わすのを原則とするtextlintルール

原語が「v」の場合はカタカナに「ヴ」を使わないのが原則とするtextlintルール

References

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.

  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

About

[WIP] 外来語(カタカナ)の書き方を扱うtextlintルールプリセット

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published