generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 101
/
cspell.config.yaml
89 lines (75 loc) · 1.7 KB
/
cspell.config.yaml
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
81
82
83
84
85
86
87
88
89
---
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
version: '0.2'
language: en-US,en-GB
dictionaryDefinitions:
- name: project-words-internal
path: '../project-words.txt'
addWords: true
- name: project-words-external
path: './project-words.txt'
addWords: true
dictionaries:
- project-words-internal
- project-words-external
- companies
- softwareTerms
- misc
- node
- typescript
- bash
- html
- css
ignorePaths:
- 'node_modules'
- 'project-words.txt'
- '.github'
allowCompoundWords: true
caseSensitive: false
ignoreRegExpList:
- code_block
- inline_code_block
- code-group
- href_link
- markdown_link
- fragments
- html_comment
- heading
- heading_ids
- bold_text
- italic_text
- i_tags
- cli_option
- property
- property_in_code_block
patterns:
- name: code_block
pattern: /`{3}[\s\S]*?`{3}/gm
- name: inline_code_block
pattern: /\`[-.]?[\s\S]*?(?!\w)\`/gm
- name: html_comment
pattern: /<!--[\s\S]*?-->/gm
- name: markdown_link
pattern: /-?\s*([*#]|\[.*?\])\(.*?\)/gm
- name: heading_ids
pattern: /\{\s*#+.+\}/
- name: code-group
pattern: /:{3}\scode-group[\s\S]*?:{3}/gm
- name: href_link
pattern: /href="[\s\S]*"/gm
- name: fragments
pattern: /<(Fragment|span|div)\s+(id|target)="#?.*"[\s.]*/?>/g
- name: heading
pattern: /^(#{1,6}.*)/
- name: bold_text
pattern: /\*{2}.*\*{2}|__.*__/gm
- name: italic_text
pattern: /\*.*\*|_.*_/gm
- name: i_tags
pattern: /<i>.*<\/i>/g
- name: cli_option
pattern: /(-[^\s]+)/g
- name: property
pattern: /`?`\.[a-zA-Z]*?/g
- name: property_in_code_block
pattern: /`(\..*)+?`/gm