Skip to content

Conversation

inosy22
Copy link
Member

@inosy22 inosy22 commented Feb 26, 2020

日本語の標準スタイルを手動で確認していくのは手間がかかるので、
ある程度はlintで確認できるといいかなと考えています。

このリポジトリに package.json などを追加していいのかわからないので、
採用するかどうかは検討していただければと思います。

概要

textlint-rule-preset-JTF-style を使って、自動で JTF日本語標準スタイルガイド(翻訳用) あっているかを判断できるようにしたら良さそうというPRです。
https://github.com/textlint-ja/textlint-rule-preset-JTF-style

Vue.js用のカスタマイズを参考に例外のルールを追加しています
参考: https://github.com/vuejs/jp.vuejs.org/blob/lang-ja/.textlintrc

できたらいいな

  • GithubActionsを使って、PRで自動でスタイルチェック
  • (LintStageを使って、コミット前にスタイルチェック)

@inosy22 inosy22 mentioned this pull request Feb 26, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant