forked from plone/plone.docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coafile
38 lines (33 loc) · 1.36 KB
/
.coafile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[DOCS]
bears = SpaceConsistencyBear, LineLengthBear, InvalidLinkBear
use_spaces = True
files = **/*.rst, README.md
ignore_length_regex = ^.*https?://
max_line_length = 300
[MAKEFILE]
bears = LineLengthBear
files = Makefile
max_line_length = 150
[WG]
bears = WriteGoodLintBear
files = **/*.rst, README.md
[languagetool]
enabled = False
bears = LanguageToolBear
files = **/*.rst
languagetool_disable_rules =
EN_QUOTES, # `` for links in rst files
WHITESPACE_RULE, # Indents in code
UPPERCASE_SENTENCE_START, # Sentences start with "coala"
COMMA_PARENTHESIS_WHITESPACE, # Confuses .coafile
DOUBLE_PUNCTUATION, # Used in `.. note::`
SENTENCE_WHITESPACE, # Thinks coalib.xyz should have space
THE_PUNCT, # Confused by symbols in code
EN_A_VS_AN, # Mistakes variable `a` to be an article
EN_UNPAIRED_BRACKETS, # Confused with brackets in code
ENGLISH_WORD_REPEAT_BEGINNING_RULE, # Confuses itself in regex
CD_NN, # index -> indices
SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA,
SENTENCE_FRAGMENT, # Thinks headings are sentences
ENGLISH_WORD_REPEAT_RULE, # Found in code
POSSESIVE_APOSTROPHE # Confused by directory name "objects"