Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit d3b28ba

Browse files
committed
chore(tutorials): cspell ignore html elements
1 parent ccc1ea6 commit d3b28ba

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/cspell.json

+16-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1-
// cSpell Settings
21
{
3-
// Version of the setting file. Always 0.1
42
"version": "0.1",
5-
// language - current active spelling language
63
"language": "en",
74
"dictionaries": [
85
"english"
96
],
10-
// Define each dictionary. Relative paths are relative to the config file.
117
"dictionaryDefinitions": [
128
{
139
"name": "english",
1410
"path": "../../docs/dictionary/en-custom.txt"
15-
},
16-
11+
}
1712
],
18-
// flagWords - list of words to be always considered incorrect
19-
// This is useful for offensive words and common spelling errors.
20-
// For example "hte" should be "the"
2113
"flagWords": [
2214
"hte"
15+
],
16+
"patterns": [
17+
{
18+
"name": "html-video-element",
19+
"pattern": "/^<video[^>]*>/gm"
20+
},
21+
{
22+
"name": "html-elements",
23+
"pattern": [
24+
"html-video"
25+
]
26+
}
27+
],
28+
"ignoreRegExpList": [
29+
"html-elements"
2330
]
2431
}

0 commit comments

Comments
 (0)