jiyuujin / Curriculum-Vitae-Old

https://github.com/jiyuujin/curriculum-vitae
MIT License
0 stars 0 forks source link

textlint #14

Closed jiyuujin closed 3 years ago

jiyuujin commented 3 years ago

https://github.com/textlint/textlint

jiyuujin commented 3 years ago

半角文字と全角文字の間にスペースを入れる

{
  "rules": {
    "preset-ja-spacing": {
      "ja-space-between-half-and-full-width": {
        "space": "always"
      }
    }
  }
}
jiyuujin commented 3 years ago

句読点を入れ ですます調 で書く

{
  "rules": {
    "preset-ja-technical-writing": true
  }
}
jiyuujin commented 3 years ago

.textlintignore が効かない(非対応な)ので、文章校正したいファイルに対して直接指定するしか無さそう

npx textlint ./README.md ./CHANGELOG.md
jiyuujin commented 3 years ago

https://github.com/jiyuujin/Curriculum-Vitae/pull/16