Repository navigation
Expand file tree
/
Copy pathcspell.json
More file actions
109 lines (109 loc) · 2.42 KB
/
Copy pathcspell.json
File metadata and controls
109 lines (109 loc) · 2.42 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"version": "0.2",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"dictionaryDefinitions": [
{
"name": "project-words",
"path": ".cspell/project-words.txt",
"addWords": true
}
],
"dictionaries": ["project-words"],
"useGitignore": true,
"ignoreRegExpList": [
"markdown-link",
"Email",
"css-class-def",
"import-statement",
"totp-url",
"app-id",
"mention",
"regions",
"component-usage",
"date-time-format"
],
"ignorePaths": [
".cspell/project-words.txt",
".git/*",
".git/!{COMMIT_EDITMSG,EDITMSG}",
".git/*/**",
".yarn",
".pnp.js",
".vscode",
".gitignore",
"coverage",
"cspell.json",
"__snapshots__",
"__recordings__",
"**/coverage/**",
"**/fixtures/**/*.json",
"**/fixtures/sampleCode/*errors/",
"**/*.svg",
"**/webpack.*.js",
"**/pnpm-lock.yaml",
"**/*.composition.tsx",
"**/*.stories.ts*",
"**/dummyDetails.ts",
"**/config/*.json",
"**/ui/**/*.json",
"**/*.jsonc",
"**/*.css",
"node_modules",
"package.json",
"package-lock.json",
"yarn.lock",
"pnpm-lock.yaml",
"turbo.json"
],
"patterns": [
{
"name": "Email",
"pattern": "/<?\\b[\\w.\\-+]{1,64}@\\w{1,63}(\\.\\w{1,63}){1,3}\\b>?/gi"
},
{
"name": "markdown-link",
"pattern": "\\[[\\w.\\- ]+\\]\\([\\w/.\\-#]+\\)"
},
{
"name": "css-class-def",
"pattern": ".* {"
},
{
"name": "import-statement",
"pattern": "import\\s+?(?:(?:(?:[\\w*\\s{},]*)\\s+from\\s+?)|)(?:(?:\".*?\")|(?:'.*?'))[\\s]*?(?:;|$|)"
},
{
"name": "totp-url",
"pattern": "otpauth://totp/*"
},
{
"name": "app-id",
"pattern": "omb6iqws"
},
{
"name": "regions",
"pattern": "(\\B{([ ]+|\\n|))(([ ]+|)\\w+:([ ]+|)'(\\w+).*')"
},
{
"name": "mention",
"pattern": "\\B@\\w+"
},
{
"name": "component-usage",
"pattern": "(\\B<\\w+)(.*)(([ ]+|)(|\\n)([ ]+)(\\w+)((([ ]+|)=([ ]+|)(.*))|)([ ]+|)(|\\n))+"
},
{
"name": "date-time-format",
"pattern": "YYYY-MM-DD.*"
}
],
"overrides": [
{
"filename": "*.har",
"languageId": "json",
"dictionaries": ["http", "node", "typescript"],
"words": ["etag", "maxage", "ratelimit", "nosniff"]
}
],
"enableFiletypes": ["shellscript"]
}