Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rxon
Created February 11, 2017 04:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rxon/f2a17c81da0901543d987cbd69945d34 to your computer and use it in GitHub Desktop.
Save rxon/f2a17c81da0901543d987cbd69945d34 to your computer and use it in GitHub Desktop.
技術文書用textlint設定
rules:
# headerの階層チェック
incremental-headers: true
# 冗長な表現を禁止
ja-no-redundant-expression: true
# リンクが有効か確認 
no-dead-link: true
# JTF日本語標準スタイルガイド
preset-jtf-style: true
# tech word checking for web engineer
spellcheck-tech-word: false
# 技術文書向けのtextlintルールプリセット
preset-ja-technical-writing:
# 1文の長さは90文字以下とする
sentence-length: false
# カンマは1文中に3つまで
# 読点は1文中に3つまで
# 連続できる最大の漢字長は5文字まで
max-kanji-continuous-len: false
# 漢数字と算用数字を使い分けます
# 「ですます調」、「である調」を統一します
no-mix-dearu-desumasu:
preferInHeader: "である"
preferInBody: "である"
preferInList: "である"
strict: true
# 文末の句点記号として「。」を使います
# 二重否定は使用しない
# ら抜き言葉を使用しない
# 逆接の接続助詞「が」を連続して使用しない
# 同じ接続詞を連続して使用しない
# 同じ助詞を連続して使用しない
# UTF8-MAC 濁点を使用しない
# 感嘆符!!、感嘆符??を使用しない
no-exclamation-question-mark:
# 全角感嘆符!?の使用を許可
allowFullWidthExclamation: true
allowFullWidthQuestion: true
# 半角カナを使用しない
# 弱い日本語表現の利用を使用しない
# 同一の単語を間違えて連続しているのをチェックする
ja-no-successive-word: false
# よくある日本語の誤用をチェックする
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment