Last active
July 11, 2016 08:46
-
-
Save yuw/63002ace80f0501f361e394a90778842 to your computer and use it in GitHub Desktop.
RedPenの設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<redpen-conf lang="ja" type="zenkaku2"> | |
<validators> | |
<!--Rules on sentence length--> | |
<validator name="SentenceLength"> | |
<property name="max_len" value="114"/> | |
</validator> | |
<validator name="CommaNumber" /> | |
<!--Rules on expressions--> | |
<validator name="ParagraphNumber"/> | |
<validator name="SuccessiveWord" /> | |
<validator name="JapaneseStyle" /> | |
<validator name="InvalidExpression" /> | |
<validator name="DoubleNegative" /> | |
<validator name="Okurigana"/> | |
<validator name="JapaneseNumberExpression"/> | |
<validator name="JapaneseAmbiguousNounConjunction" /> | |
<validator name="LongKanjiChain"> | |
<property name="max_len" value="7"/> | |
</validator> | |
<!--Rules on symbols and terminologies--> | |
<validator name="InvalidSymbol"/> | |
<validator name="KatakanaEndHyphen"/> | |
<validator name="KatakanaSpellCheck"/> | |
<validator name="SpaceBetweenAlphabeticalWord"> | |
<property name="forbidden" value="true"/> | |
</validator> | |
<validator name="ParenthesizedSentence"> | |
<property name="max_count" value="3"/> | |
<property name="max_nesting_level" value="1"/> | |
<property name="max_length" value="10"/> | |
</validator> | |
<symbols> | |
<symbol name="EXCLAMATION_MARK" value="!" /> | |
<symbol name="QUESTION_MARK" value="?" /> | |
</symbols> | |
<!--Rules on sections and paragraphs--> | |
<validator name="SectionLength"> | |
<property name="max_num" value="1500"/> | |
</validator> | |
<validator name="VoidSection" /> | |
<validator name="GappedSection" /> | |
<validator name="SectionLevel" /> | |
<!--Load JavaScript validators--> | |
<validator name="JavaScript" /> | |
</validators> | |
</redpen-conf> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment