@kitschpatrol/cspell-config 4.7.12 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +6324 -58
- package/dictionaries/case-police.json +3 -0
- package/dictionaries/kp-brands.txt +1 -1
- package/dictionaries/kp-eslint.txt +59 -0
- package/dictionaries/kp-misc.txt +1 -0
- package/dictionaries/kp-names.txt +12 -4
- package/dictionaries/kp-tech.txt +5 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +129 -0
- package/init/cspell.config.js +3 -0
- package/license.txt +1 -1
- package/package.json +32 -21
- package/readme.md +122 -32
- package/cspell.config.json +0 -101
- package/init/.cspell.json +0 -6
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
activedescendant
|
|
2
|
+
allman
|
|
3
|
+
biblioref
|
|
4
|
+
canonicalurl
|
|
5
|
+
chunkname
|
|
6
|
+
curlies
|
|
7
|
+
displaynames
|
|
8
|
+
esmodule
|
|
9
|
+
fetchcontent
|
|
10
|
+
findlast
|
|
11
|
+
findlastindex
|
|
12
|
+
flowtype
|
|
13
|
+
formatrange
|
|
14
|
+
formatrangetoparts
|
|
15
|
+
freelist
|
|
16
|
+
fromentries
|
|
17
|
+
getentrybyslug
|
|
18
|
+
glossref
|
|
19
|
+
groupby
|
|
20
|
+
helpes
|
|
21
|
+
innerhtml
|
|
22
|
+
iswellformed
|
|
23
|
+
jsxdev
|
|
24
|
+
lookarounds
|
|
25
|
+
matchall
|
|
26
|
+
maxsafeinteger
|
|
27
|
+
menuitemcheckbox
|
|
28
|
+
menuitemradio
|
|
29
|
+
minsafeinteger
|
|
30
|
+
multilines
|
|
31
|
+
namepaths
|
|
32
|
+
nonblock
|
|
33
|
+
nonconstructor
|
|
34
|
+
nonoctal
|
|
35
|
+
nonwords
|
|
36
|
+
noteref
|
|
37
|
+
nums
|
|
38
|
+
ocsp
|
|
39
|
+
proptypes
|
|
40
|
+
replaceall
|
|
41
|
+
sameline
|
|
42
|
+
selectrange
|
|
43
|
+
setstate
|
|
44
|
+
spinbutton
|
|
45
|
+
statfs
|
|
46
|
+
supportedvaluesof
|
|
47
|
+
textnodes
|
|
48
|
+
thenables
|
|
49
|
+
toreversed
|
|
50
|
+
tosorted
|
|
51
|
+
tospliced
|
|
52
|
+
towellformed
|
|
53
|
+
treegrid
|
|
54
|
+
trimend
|
|
55
|
+
trimstart
|
|
56
|
+
uncloneable
|
|
57
|
+
waitasync
|
|
58
|
+
weakrefs
|
|
59
|
+
withresolvers
|
package/dictionaries/kp-misc.txt
CHANGED
|
@@ -185,6 +185,7 @@ Camos
|
|
|
185
185
|
Canavan
|
|
186
186
|
Cann
|
|
187
187
|
Cantz
|
|
188
|
+
Čapek
|
|
188
189
|
Capps
|
|
189
190
|
Cardano
|
|
190
191
|
Carley
|
|
@@ -337,6 +338,7 @@ Endy
|
|
|
337
338
|
Engelbart
|
|
338
339
|
Engst
|
|
339
340
|
Enso
|
|
341
|
+
envsa
|
|
340
342
|
Equa
|
|
341
343
|
Erbe
|
|
342
344
|
Erdogan
|
|
@@ -690,7 +692,9 @@ Kutnow
|
|
|
690
692
|
Kuzmin
|
|
691
693
|
Kykuit
|
|
692
694
|
Kyoko
|
|
695
|
+
L’Óreal
|
|
693
696
|
L'Rai
|
|
697
|
+
L’Rai
|
|
694
698
|
Laidlaw
|
|
695
699
|
Laika
|
|
696
700
|
Lalo
|
|
@@ -755,8 +759,6 @@ Luiz
|
|
|
755
759
|
Lupton
|
|
756
760
|
Lutz
|
|
757
761
|
Luzi
|
|
758
|
-
L’Óreal
|
|
759
|
-
L’Rai
|
|
760
762
|
Maag
|
|
761
763
|
Maarten
|
|
762
764
|
Mackay
|
|
@@ -949,9 +951,9 @@ Oriol
|
|
|
949
951
|
Orland
|
|
950
952
|
Osawa
|
|
951
953
|
osnr
|
|
954
|
+
Ôtomo
|
|
952
955
|
Outkast
|
|
953
956
|
Ozge
|
|
954
|
-
Ôtomo
|
|
955
957
|
Pachucki
|
|
956
958
|
Paciocco
|
|
957
959
|
Paik
|
|
@@ -1001,6 +1003,7 @@ Prestel
|
|
|
1001
1003
|
Propery
|
|
1002
1004
|
Protazanov
|
|
1003
1005
|
Protzel
|
|
1006
|
+
qlty
|
|
1004
1007
|
Quintana
|
|
1005
1008
|
Quist
|
|
1006
1009
|
Rafaël
|
|
@@ -1022,6 +1025,7 @@ Reas
|
|
|
1022
1025
|
Rebecca
|
|
1023
1026
|
Refik
|
|
1024
1027
|
Reimann
|
|
1028
|
+
Rella
|
|
1025
1029
|
Renard
|
|
1026
1030
|
Renata
|
|
1027
1031
|
Renaud
|
|
@@ -1167,6 +1171,7 @@ Sofreh
|
|
|
1167
1171
|
Sofy
|
|
1168
1172
|
Söhne
|
|
1169
1173
|
Soleri
|
|
1174
|
+
SolidGoldMagikarp
|
|
1170
1175
|
Soman
|
|
1171
1176
|
Sorhus
|
|
1172
1177
|
Sout
|
|
@@ -1188,6 +1193,7 @@ Steves
|
|
|
1188
1193
|
Steyerl
|
|
1189
1194
|
Stinson
|
|
1190
1195
|
Stott
|
|
1196
|
+
Stroustrup
|
|
1191
1197
|
Strunk
|
|
1192
1198
|
Stuy
|
|
1193
1199
|
Styer
|
|
@@ -1201,6 +1207,7 @@ Sveta
|
|
|
1201
1207
|
Svorka
|
|
1202
1208
|
Swann
|
|
1203
1209
|
Swensen
|
|
1210
|
+
sxzz
|
|
1204
1211
|
Syed
|
|
1205
1212
|
Syeda
|
|
1206
1213
|
Synbio
|
|
@@ -1322,6 +1329,7 @@ Vogel
|
|
|
1322
1329
|
Volk
|
|
1323
1330
|
Vollmer
|
|
1324
1331
|
Voronoi
|
|
1332
|
+
voxpelli
|
|
1325
1333
|
VVORK
|
|
1326
1334
|
Waldrop
|
|
1327
1335
|
Walley
|
|
@@ -1396,6 +1404,7 @@ Zabala
|
|
|
1396
1404
|
Zack
|
|
1397
1405
|
Zaks
|
|
1398
1406
|
Zaman
|
|
1407
|
+
Zamiell
|
|
1399
1408
|
Zamorano
|
|
1400
1409
|
Zana
|
|
1401
1410
|
Zananiri
|
|
@@ -1419,4 +1428,3 @@ Zoltan
|
|
|
1419
1428
|
Zucker
|
|
1420
1429
|
Zurkow
|
|
1421
1430
|
Zutowski
|
|
1422
|
-
Čapek
|
package/dictionaries/kp-tech.txt
CHANGED
|
@@ -17,6 +17,7 @@ Artnet
|
|
|
17
17
|
astable
|
|
18
18
|
Astro
|
|
19
19
|
astrojs
|
|
20
|
+
attw
|
|
20
21
|
autohide
|
|
21
22
|
autoimports
|
|
22
23
|
Automator
|
|
@@ -57,6 +58,7 @@ camerakit
|
|
|
57
58
|
cameraring
|
|
58
59
|
camerawheel
|
|
59
60
|
certbot
|
|
61
|
+
checkjs
|
|
60
62
|
chezmoi
|
|
61
63
|
chipset
|
|
62
64
|
clippy
|
|
@@ -97,6 +99,7 @@ datavis
|
|
|
97
99
|
dataviz
|
|
98
100
|
Datejs
|
|
99
101
|
datetime
|
|
102
|
+
decircular
|
|
100
103
|
deepmerge
|
|
101
104
|
deleter
|
|
102
105
|
demux
|
|
@@ -219,6 +222,7 @@ keyof
|
|
|
219
222
|
Kinect
|
|
220
223
|
kinects
|
|
221
224
|
kiota
|
|
225
|
+
kpi
|
|
222
226
|
kputil
|
|
223
227
|
ksdiff
|
|
224
228
|
lanczos
|
|
@@ -342,6 +346,7 @@ npmlog
|
|
|
342
346
|
nproc
|
|
343
347
|
numpy
|
|
344
348
|
Nuxt
|
|
349
|
+
NVIM
|
|
345
350
|
nyquist
|
|
346
351
|
Obinslab
|
|
347
352
|
objc
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CSpellUserSettings as CspellConfig } from '@cspell/cspell-types';
|
|
2
|
+
declare const sharedCspellConfig: CspellConfig;
|
|
3
|
+
/**
|
|
4
|
+
* **\@Kitschpatrol's Shared Cspell Configuration**
|
|
5
|
+
* @see [@kitschpatrol/cspell-config](https://github.com/kitschpatrol/shared-config/tree/main/packages/cspell-config)
|
|
6
|
+
* @see [@kitschpatrol/shared-config](https://github.com/kitschpatrol/shared-config)
|
|
7
|
+
* @example
|
|
8
|
+
* ```js
|
|
9
|
+
* export default cspellConfig({
|
|
10
|
+
* ignorePaths: [
|
|
11
|
+
* '/test/fixtures/input',
|
|
12
|
+
* ],
|
|
13
|
+
* })
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function cspellConfig(config?: CspellConfig): CspellConfig;
|
|
17
|
+
export default sharedCspellConfig;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
const sharedCspellConfig = {
|
|
2
|
+
allowCompoundWords: false,
|
|
3
|
+
caseSensitive: false,
|
|
4
|
+
dictionaries: [
|
|
5
|
+
'lorem-ipsum',
|
|
6
|
+
'git',
|
|
7
|
+
'gaming-terms',
|
|
8
|
+
'npm',
|
|
9
|
+
'data-science',
|
|
10
|
+
'fullstack',
|
|
11
|
+
'kp-acronyms',
|
|
12
|
+
'kp-brands',
|
|
13
|
+
'kp-eslint',
|
|
14
|
+
'kp-files',
|
|
15
|
+
'kp-misc',
|
|
16
|
+
'kp-names',
|
|
17
|
+
'kp-tech',
|
|
18
|
+
],
|
|
19
|
+
dictionaryDefinitions: [
|
|
20
|
+
{
|
|
21
|
+
addWords: true,
|
|
22
|
+
name: 'kp-acronyms',
|
|
23
|
+
path: '../dictionaries/kp-acronyms.txt',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
addWords: true,
|
|
27
|
+
name: 'kp-brands',
|
|
28
|
+
path: '../dictionaries/kp-brands.txt',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
addWords: true,
|
|
32
|
+
name: 'kp-eslint',
|
|
33
|
+
path: '../dictionaries/kp-eslint.txt',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
addWords: true,
|
|
37
|
+
name: 'kp-files',
|
|
38
|
+
path: '../dictionaries/kp-files.txt',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
addWords: true,
|
|
42
|
+
name: 'kp-misc',
|
|
43
|
+
path: '../dictionaries/kp-misc.txt',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
addWords: true,
|
|
47
|
+
name: 'kp-names',
|
|
48
|
+
path: '../dictionaries/kp-names.txt',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
addWords: true,
|
|
52
|
+
name: 'kp-tech',
|
|
53
|
+
path: '../dictionaries/kp-tech.txt',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
enabled: true,
|
|
57
|
+
enableFiletypes: ['astro', 'md', 'mdx', 'patch', 'svelte'],
|
|
58
|
+
enableGlobDot: false,
|
|
59
|
+
globRoot: '/',
|
|
60
|
+
ignorePaths: [
|
|
61
|
+
'__snapshots__',
|
|
62
|
+
'*.app',
|
|
63
|
+
'*.avif',
|
|
64
|
+
'*.m4a',
|
|
65
|
+
'*.m4v',
|
|
66
|
+
'*.mp3',
|
|
67
|
+
'*.mp4',
|
|
68
|
+
'*.patch',
|
|
69
|
+
'*.scpt',
|
|
70
|
+
'*.svg',
|
|
71
|
+
'*.tif',
|
|
72
|
+
'*.tldr',
|
|
73
|
+
'*.3gp',
|
|
74
|
+
'*.aac',
|
|
75
|
+
'*.avi',
|
|
76
|
+
'*.flac',
|
|
77
|
+
'*.flv',
|
|
78
|
+
'*.mkv',
|
|
79
|
+
'*.mpeg',
|
|
80
|
+
'*.oga',
|
|
81
|
+
'*.ogg',
|
|
82
|
+
'*.ogv',
|
|
83
|
+
'*.ogx',
|
|
84
|
+
'*.opus',
|
|
85
|
+
'*.spx',
|
|
86
|
+
'*.swf',
|
|
87
|
+
'*.wav',
|
|
88
|
+
'package.json',
|
|
89
|
+
'patches/',
|
|
90
|
+
'pnpm-lock.yaml',
|
|
91
|
+
],
|
|
92
|
+
ignoreRegExpList: ['tp-.+', 'tweakpane-plugin-.+', String.raw `v2_c_\w{21}`],
|
|
93
|
+
language: 'en,en-US',
|
|
94
|
+
languageSettings: [
|
|
95
|
+
{
|
|
96
|
+
ignoreRegExpList: [
|
|
97
|
+
// TODO does regex really need to be global?
|
|
98
|
+
'/^```(?:.|\\s)+?^```/mig', // Code fences
|
|
99
|
+
String.raw `\$\$.*?\$\$`, // Ignore display MathJax $$...$$
|
|
100
|
+
String.raw `\$[^$\n]*\$`, // Ignore inline MathJax $...$
|
|
101
|
+
// False negatives...
|
|
102
|
+
// String.raw`[A-Z\d\-]{8,}`, // Probable IDs or model names, e.g. AK-68-S7KA-0004
|
|
103
|
+
],
|
|
104
|
+
languageId: 'markdown,mdx,json',
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
useGitignore: true,
|
|
108
|
+
version: '0.2',
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* **\@Kitschpatrol's Shared Cspell Configuration**
|
|
112
|
+
* @see [@kitschpatrol/cspell-config](https://github.com/kitschpatrol/shared-config/tree/main/packages/cspell-config)
|
|
113
|
+
* @see [@kitschpatrol/shared-config](https://github.com/kitschpatrol/shared-config)
|
|
114
|
+
* @example
|
|
115
|
+
* ```js
|
|
116
|
+
* export default cspellConfig({
|
|
117
|
+
* ignorePaths: [
|
|
118
|
+
* '/test/fixtures/input',
|
|
119
|
+
* ],
|
|
120
|
+
* })
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
export function cspellConfig(config) {
|
|
124
|
+
return {
|
|
125
|
+
import: '@kitschpatrol/cspell-config',
|
|
126
|
+
...config,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
export default sharedCspellConfig;
|
package/license.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,53 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/cspell-config",
|
|
3
|
-
"version": "
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "5.0.0",
|
|
5
4
|
"description": "CSpell configuration for @kitschpatrol/shared-config.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"shared-config",
|
|
7
|
+
"cspell-config",
|
|
8
|
+
"cspell",
|
|
9
|
+
"cli",
|
|
10
|
+
"kpi",
|
|
11
|
+
"kpi-cspell"
|
|
12
|
+
],
|
|
13
|
+
"bugs": "https://github.com/kitschpatrol/shared-config/issues",
|
|
6
14
|
"repository": {
|
|
7
15
|
"type": "git",
|
|
8
16
|
"url": "git+https://github.com/kitschpatrol/shared-config/cli.git",
|
|
9
17
|
"directory": "packages/cspell-config"
|
|
10
18
|
},
|
|
11
|
-
"
|
|
19
|
+
"license": "MIT",
|
|
12
20
|
"author": {
|
|
13
21
|
"name": "Eric Mika",
|
|
14
22
|
"email": "eric@ericmika.com",
|
|
15
23
|
"url": "https://ericmika.com"
|
|
16
24
|
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
25
|
+
"type": "module",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts"
|
|
30
|
+
}
|
|
21
31
|
},
|
|
32
|
+
"main": "dist/index.js",
|
|
33
|
+
"types": "dist/index.d.ts",
|
|
22
34
|
"bin": {
|
|
23
|
-
"cspell
|
|
35
|
+
"kpi-cspell": "bin/cli.js"
|
|
24
36
|
},
|
|
25
|
-
"main": "./cspell.config.json",
|
|
26
37
|
"files": [
|
|
27
38
|
"bin/*",
|
|
28
39
|
"dictionaries/*",
|
|
40
|
+
"dist/*",
|
|
29
41
|
"init/*"
|
|
30
42
|
],
|
|
31
|
-
"keywords": [
|
|
32
|
-
"shared-config",
|
|
33
|
-
"cspell-config",
|
|
34
|
-
"cspell",
|
|
35
|
-
"cli"
|
|
36
|
-
],
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"cspell": "^8.16.0"
|
|
39
|
-
},
|
|
40
43
|
"dependencies": {
|
|
44
|
+
"@cspell/cspell-types": "^8.17.3",
|
|
41
45
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
46
|
+
"case-police": "^0.7.2",
|
|
42
47
|
"cosmiconfig": "^9.0.0",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
48
|
+
"cspell": "^8.17.3",
|
|
49
|
+
"cspell-lib": "^8.17.3",
|
|
50
|
+
"execa": "^9.5.2",
|
|
51
|
+
"fs-extra": "^11.3.0"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=22.0.0",
|
|
55
|
+
"pnpm": ">=10.0.0"
|
|
45
56
|
},
|
|
46
57
|
"publishConfig": {
|
|
47
58
|
"access": "public"
|
|
48
59
|
},
|
|
49
60
|
"scripts": {
|
|
50
|
-
"build": "../../scripts/build.ts
|
|
61
|
+
"build": "tsc && ../../scripts/build.ts",
|
|
51
62
|
"cli": "node ./bin/cli.js",
|
|
52
63
|
"find-duplicates": "cat ./dictionaries/*.txt | sort -f | uniq -i -d",
|
|
53
64
|
"list-words": "cat ./dictionaries/*.txt",
|