-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathcspell.json
53 lines (43 loc) · 1.26 KB
/
cspell.json
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
{
// Enable your dictionary by adding it to the list of `dictionaries`
"dictionaries": ["ipfs"],
// Tell CSpell about your dictionary
"dictionaryDefinitions": [{
// The name of the dictionary is used to look it up.
"name": "ipfs",
// Path to the custom word file. Relative to this `cspell.json` file.
"path": "./dictionaries/ipfs.txt"
}],
"files": [
"**/*.{ts,js,md}",
"!**/dist/**",
"!**/node_modules/**",
"!**/CHANGELOG.md"
],
"ignoreRegExpList": [
// ignore import names (e.g. `import foo from 'module-name-with-typo'`)
"/from\\s+(['\"]).*\\1/",
// ignore dynamic imports
"/import(.*)/",
// ignore anything in backticks
"/`.*`/",
// multiaddrs are not spell checked
"/multiaddr(.*)/",
// string encoded binary is not spell checked
"/uint8ArrayFromString(.*)/",
// CIDs are not spell checked
"/CID(.*)/",
// string CIDs are not spell checked
"'baf(.*)'",
"\"baf(.*)\"",
"'Qm(.*)'",
"\"Qm(.*)\"",
// string PeerIds are not spell checked
"'12D3Koo(.*)'", // Ed25519
"\"12D3Koo(.*)\"", // Ed25519
"'16Uiu(.*)'", // secp256k1
"\"16Uiu(.*)\"", // secp256k1
"'k51(.*)'", // base36 PeerId as CID
"\"k51(.*)\"" // base36 PeerId as CID
]
}