Skip to content

Commit ef44dee

Browse files
authored
fix: do not spell check string CIDs/PeerIds
1 parent 19acd79 commit ef44dee

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

cspell.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,24 @@
3030
// multiaddrs are not spell checked
3131
"/multiaddr(.*)/",
3232

33-
// peer ids are not spell checked
34-
"/peerIdFromString(.*)/",
35-
3633
// string encoded binary is not spell checked
3734
"/uint8ArrayFromString(.*)/",
3835

3936
// CIDs are not spell checked
40-
"/CID(.*)/"
37+
"/CID(.*)/",
38+
39+
// string CIDs are not spell checked
40+
"'baf(.*)'",
41+
"\"baf(.*)\"",
42+
"'Qm(.*)'",
43+
"\"Qm(.*)\"",
44+
45+
// string PeerIds are not spell checked
46+
"'12D3Koo(.*)'", // Ed25519
47+
"\"12D3Koo(.*)\"", // Ed25519
48+
"'16Uiu(.*)'", // secp256k1
49+
"\"16Uiu(.*)\"", // secp256k1
50+
"'k51(.*)'", // base36 PeerId as CID
51+
"\"k51(.*)\"" // base36 PeerId as CID
4152
]
4253
}

0 commit comments

Comments
 (0)