Skip to content

Commit d91958a

Browse files
authored
Basic vale implementation - spell check, Oxford Comma Rule (ipfs#1339)
1 parent ff1ab45 commit d91958a

File tree

6 files changed

+457
-0
lines changed

6 files changed

+457
-0
lines changed
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
(?i)APIs?
2+
(?i)BitSwap
3+
(?i)CIDs?
4+
(?i)CLI
5+
(?i)DHTs?
6+
(?i)DNSLink
7+
(?i)FQDNs?
8+
(?i)IPFS
9+
(?i)JavaScript
10+
(?i)JS-IPFS
11+
(?i)json
12+
(?i)libp2p
13+
(?i)Merkle
14+
(?i)Netlify
15+
(?i)NFTs?
16+
(?i)Nginx
17+
(?i)NodeJS
18+
(?i)NPM
19+
(?i)PowerShell
20+
(?i)URIs?
21+
(?i)VPNs?
22+
(?i)VSCode
23+
[Bb]it[Ss]wap
24+
[Bb]lockchains?
25+
[Bb]ool(ean)?
26+
[Dd]atastore
27+
[Dd]Web
28+
[Ee]thereum
29+
[Ff]ilecoin
30+
[Ff]ilecorgi
31+
[Ff]lat[Ff][Ss]
32+
[Ff]leek
33+
[Gg]it(hub)?
34+
[Hh]ackathons?
35+
[Ii]roh
36+
[Kk]ademlia
37+
[Kk]eystores?
38+
[Kk]ubo
39+
[Mm]arkdown(lint)?
40+
[Mm]ultiaddr(ess)?
41+
[Mm]ultiaddrs
42+
[Mm]ultibase
43+
[Mm]ulticodec
44+
[Mm]ultiformats
45+
[Mm]ultihash
46+
[Nn]amespace
47+
[Pp]reload
48+
[Pp]ub[Ss]ub
49+
[Rr]abin
50+
[Rr]epos?
51+
[Ww]ebpack
52+
[Ww]ebpages?
53+
[Ww]ebsockets?
54+
[Y]ou[T]ube
55+
Aave
56+
accessor
57+
ACLs?
58+
ADLs?
59+
agregore
60+
Arbol('s)?
61+
auditable
62+
Audius
63+
auspinner
64+
blockstore
65+
Browserify
66+
callouts?
67+
CAs?
68+
CDNs?
69+
Certbot
70+
CNAMEs?
71+
codec
72+
Coinlist
73+
Composable
74+
config
75+
counterparty
76+
coworking
77+
CPUs?
78+
crowdsourcing
79+
crypto(currencies)?
80+
DAOs
81+
DAOs?
82+
dApps?
83+
data('s)?
84+
deduplicate
85+
deserialization
86+
devs?
87+
Dheeraj
88+
dialable
89+
DNS('s)?
90+
DNSAddr
91+
dotgraph
92+
embeddable
93+
Eternum
94+
explainers?
95+
Fabien
96+
failovers?
97+
Filebase
98+
filesizes?
99+
Filestore
100+
FQDNs?
101+
gasless
102+
geospatial
103+
Gnutella
104+
goroutines?
105+
Graphsync
106+
GUIs?
107+
Hareesh
108+
homebrew
109+
hostname
110+
HTML
111+
HTTPS
112+
identafiability
113+
Infura
114+
interop
115+
ipget
116+
Jakub
117+
Jeromy
118+
Jha
119+
JS
120+
JSDelivr
121+
jumpstarted
122+
Kazaa
123+
keepalive
124+
keypair
125+
Kubuxu
126+
Laika
127+
lastAlive
128+
lastBootstrap
129+
lastPeer
130+
lookups
131+
loopback
132+
mainnet
133+
Mainnet
134+
metadata('s)?
135+
Metamask
136+
Minty('s)?
137+
Mojitos
138+
multipage
139+
Nagaraj
140+
Nakamoto('s)?
141+
Namebase
142+
Namecheap
143+
NATs?
144+
Neocities
145+
Next.js
146+
packfile
147+
passthrough
148+
Peergos
149+
permissionless
150+
Philz
151+
pinset
152+
pipeable
153+
plaintext
154+
pluggable
155+
Powergate
156+
prepended
157+
processAnnounce
158+
protobuf
159+
Protocol Labs
160+
Protoschool
161+
proxied
162+
Qm
163+
rasterio
164+
READMEs?
165+
referenceable
166+
reprovider
167+
reproviding
168+
roadmaps
169+
sandboxed
170+
Satoshi
171+
Satoshi Nakamoto
172+
serverless
173+
sharding
174+
snapshotted
175+
stackparse
176+
stdout
177+
Storj
178+
substring
179+
Sztandera
180+
Testground
181+
testnet
182+
toolkits
183+
trustlessly
184+
uncensorable
185+
undialable
186+
Uniswap
187+
unreachability
188+
untrusted
189+
URLs?
190+
urlstore
191+
Urlstore
192+
userland
193+
userspace
194+
Vue
195+
wantlist
196+
^webRequest$
197+
webui
198+
Westeros
199+
/^wget$/
200+
whitepaper
201+
^(whypfs)$
202+
^(whyrusleeping)$
203+
WiFi
204+
WS
205+
^WSS$
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extends: existence
2+
message: "Use the Oxford comma in '%s'. Follow each list of three or more items with a comma."
3+
link: https://docs.ipfs.tech/community/contribute/grammar-formatting-and-style/#the-oxford-comma
4+
scope: sentence
5+
level: suggestion
6+
nonword: true
7+
tokens:
8+
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: spelling
2+
message: "Did you really mean '%s'?"
3+
level: error
4+
ignore:
5+
- pln-ignore.txt

0 commit comments

Comments
 (0)