Skip to content

Commit 80f8dcf

Browse files
authored
Merge pull request #7770 from wenzhixin/feature/cspell
Updated cspell config
2 parents cd9d406 + 86b7240 commit 80f8dcf

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

.cspell.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,25 @@
22
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
33
"version": "0.2",
44
"dictionaries": [
5-
"allowed-words"
5+
"cspell-words"
66
],
77
"dictionaryDefinitions": [
88
{
9-
"name": "allowed-words",
9+
"name": "cspell-words",
1010
"path": "./.cspell-words.txt",
1111
"addWords": true
1212
}
1313
],
14+
"ignoreRegExpList": [
15+
"/.*data:image/png;base64.*/g",
16+
"/ * @author.*/g",
17+
"/ * @update.*/g",
18+
"/ +\"name\": \".*\",/"
19+
],
1420
"ignorePaths": [
1521
"src/locale/**",
16-
"node_modules/**",
17-
"test/**"
22+
"site/_themes/node_modules/**",
23+
"tools/**",
24+
"DONATORS.md"
1825
]
1926
}

package.json

+1-25
Original file line numberDiff line numberDiff line change
@@ -100,29 +100,5 @@
100100
"url": "https://github.com/wenzhixin/bootstrap-table/issues"
101101
},
102102
"homepage": "https://bootstrap-table.com",
103-
"types": "./index.d.ts",
104-
"cspell": {
105-
"dictionaries": [
106-
"cspell-words"
107-
],
108-
"dictionaryDefinitions": [
109-
{
110-
"name": "cspell-words",
111-
"path": "./.cspell-words.txt",
112-
"addWords": true
113-
}
114-
],
115-
"ignoreRegExpList": [
116-
"/.*data:image/png;base64.*/g",
117-
"/ * @author.*/g",
118-
"/ * @update.*/g",
119-
"/ +\"name\": \".*\",/"
120-
],
121-
"ignorePaths": [
122-
"src/locale/**",
123-
"site/_themes/node_modules/**",
124-
"tools/**",
125-
"DONATORS.md"
126-
]
127-
}
103+
"types": "./index.d.ts"
128104
}

0 commit comments

Comments
 (0)