Skip to content

Commit 3fcec73

Browse files
committed
Add RedPen configuration file
1 parent 08a953f commit 3fcec73

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

redpen-conf-en.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<redpen-conf lang="en" variant="us">
2+
<validators>
3+
<!--Rules on expressions-->
4+
<validator name="SymbolWithSpace"/>
5+
<validator name="SuccessiveWord" />
6+
<validator name="FrequentSentenceStart"/>
7+
<validator name="UnexpandedAcronym"/>
8+
9+
<!--Rules on sections and paragraphs-->
10+
<validator name="SpaceBeginningOfSentence" />
11+
<validator name="DuplicatedSection" />
12+
<validator name="DoubleNegative" />
13+
<validator name="SuccessiveSentence" />
14+
15+
<!--Rules on symbols and terminologies-->
16+
<validator name="InvalidSymbol"/>
17+
<validator name="Spelling">
18+
<property name="dict" value="redpen-spelling"/>
19+
</validator>
20+
<validator name="Hyphenation"/>
21+
<validator name="NumberFormat"/>
22+
23+
<!--Load JavaScript validators-->
24+
<validator name="JavaScript" />
25+
</validators>
26+
<symbols>
27+
<symbol name="LEFT_SINGLE_QUOTATION_MARK" value="'" invalid-chars="" before-space="false" after-space="false" />
28+
<symbol name="RIGHT_SINGLE_QUOTATION_MARK" value="'" invalid-chars="" before-space="false" after-space="false" />
29+
</symbols>
30+
</redpen-conf>

redpen-spelling

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dplyr
2+
gapminder
3+
RStudio
4+
summative

0 commit comments

Comments
 (0)