forked from devonfw/hangar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.spellcheck.yml
80 lines (80 loc) · 2.18 KB
/
.spellcheck.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
matrix:
- name: asciidoc source py spell check configuration
aspell:
lang: en
d: en_US
sources:
- documentation/*.asciidoc
dictionary:
wordlists:
- en-devonfw.dict
output: en-devonfw.dic
pipeline:
#Ignore for words starting and ending with colon
- pyspelling.filters.python:
- pyspelling.filters.context:
context_visible_first: true
escapes: ':\S+?:'
- pyspelling.filters.url:
#Ignore for directory path
- pyspelling.filters.context:
context_visible_first: true
escapes: '^.*[\/\\][^\/\\]+$'
#Ignore for url starting with http or https
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'https?:\S+?'
close: '\s'
#Ignore content between backticks
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: '```'
close: '(\w|\W)+?(?=```)'
#Ignore content between backticks
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: '(?<!``)`[^`]+'
close: '`'
#Ignore links
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'link:[^[]+'
close: '\['
#Ignore Image tags
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'image:[^[]+'
close: '\['
#Ignore Image tags link part
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: ',.+?link=[^\]]+'
close: '\]'
#Ignore include tag
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'include:[^[]+'
close: '\['
- pyspelling.filters.context:
context_visible_first: true
escapes: \\[\\-~]
delimiters:
# Ignore multiline content between fences (fences can have 4 or more hyphens)
# ----
# content
# ----
- open: '(?s)^(?P<open> *-{4,})$'
close: '^(?P=open)$'
- pyspelling.filters.context:
context_visible_first: true
delimiters:
# Ignore multiline content between [source, *] and blank line
- open: '\[source,.*\]\r?\n\s*----'
close: '\s*----'