Skip to content

Instantly share code, notes, and snippets.

@tuxedocat
Created November 2, 2017 07:09
Show Gist options
  • Save tuxedocat/a0c9a40c17660250c151ce8854980533 to your computer and use it in GitHub Desktop.
Save tuxedocat/a0c9a40c17660250c151ce8854980533 to your computer and use it in GitHub Desktop.
textlintの設定(ほとんど技術書用プリセットと同じ)
{
"rules": {
"max-comma": {
"max": 3
},
"sentence-length": {
"max": 90
},
"no-mix-dearu-desumasu": {
"preferInHeader": "",
"preferInBody": "ですます",
"preferInList": "である",
"strict": true
},
"ja-no-mixed-period": {
"periodMark": "。"
},
"no-double-negative-ja": true,
"no-dropping-the-ra": true,
"no-doubled-conjunction": true,
"no-doubled-joshi": {
"min_interval": 1
},
"no-nfd": true,
"no-exclamation-question-mark": true,
"no-hankaku-kana": true,
"ja-no-weak-phrase": false,
"ja-no-successive-word": true,
"ja-no-abusage": true,
"max-kanji-continuous-len": {
"max": 7,
"allow": ["自然言語処理", "述語項構造解析", "機械学習手法"]
},
},
"filters": {
"comments": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment