Skip to content

Commit 1bd2eb5

Browse files
committed
Add cspell to CI
1 parent 75dd638 commit 1bd2eb5

File tree

21 files changed

+644
-205
lines changed

21 files changed

+644
-205
lines changed

.cspell.json

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
{
2+
"version": "0.1",
3+
"language": "en-GB",
4+
"words": [
5+
"aave",
6+
"addrs",
7+
"algolia",
8+
"altstack",
9+
"antlr",
10+
"anyhedge",
11+
"anyonecanpay",
12+
"badlength",
13+
"bchjs",
14+
"bchreg",
15+
"bchtest",
16+
"bitauth",
17+
"bitbox",
18+
"bitbox's",
19+
"bitcoin",
20+
"bitcoincash",
21+
"bitcore",
22+
"bitfield",
23+
"bitfield's",
24+
"blackie",
25+
"blockbook",
26+
"booland",
27+
"boolor",
28+
"bytecode",
29+
"bytesize",
30+
"cashaddress",
31+
"cashc",
32+
"cashproof",
33+
"cashscript",
34+
"castable",
35+
"checkdatasig",
36+
"checkdatasigverify",
37+
"checklocktimeverify",
38+
"checkmultisig",
39+
"checkmultisigverify",
40+
"checksequenceverify",
41+
"checksig",
42+
"checksigverify",
43+
"cleanstack",
44+
"cryptocurrency",
45+
"datasig",
46+
"deserialisation",
47+
"docblock",
48+
"electroncash",
49+
"electrum",
50+
"electrumx",
51+
"equalverify",
52+
"eslintignore",
53+
"esnext",
54+
"ethereum",
55+
"ethereum's",
56+
"eval",
57+
"fallback",
58+
"firefox",
59+
"forkid",
60+
"fromaltstack",
61+
"gitattributes",
62+
"gitlab",
63+
"greaterthan",
64+
"greaterthanorequal",
65+
"hardcodes",
66+
"hash",
67+
"hashoutputs",
68+
"hashprevouts",
69+
"hashsequence",
70+
"hashtype",
71+
"hashtypes",
72+
"hodl",
73+
"hodling",
74+
"htlc",
75+
"incentivise",
76+
"kalis",
77+
"keypair",
78+
"keypairs",
79+
"lessthan",
80+
"lessthanorequal",
81+
"lexer",
82+
"libauth",
83+
"libauth's",
84+
"licho",
85+
"licho's",
86+
"listunspent",
87+
"locktime",
88+
"lokad",
89+
"lshift",
90+
"mecenas",
91+
"meep",
92+
"minimaldata",
93+
"minimalif",
94+
"n",
95+
"noncompressed",
96+
"nonschnorr",
97+
"nops",
98+
"notif",
99+
"nulldata",
100+
"nullfail",
101+
"numequal",
102+
"numequalverify",
103+
"numnotequal",
104+
"op",
105+
"opcode",
106+
"opcodes",
107+
"opcount",
108+
"output",
109+
"patreon",
110+
"pein",
111+
"pkh",
112+
"pkscript",
113+
"placeholder",
114+
"preimage",
115+
"prestwich",
116+
"prevout",
117+
"prevouts",
118+
"priv",
119+
"pubkey",
120+
"pubkeytype",
121+
"pushbytes",
122+
"pushdata",
123+
"pushonly",
124+
"qrbtf",
125+
"regtest",
126+
"reversebytes",
127+
"ripemd",
128+
"rosco",
129+
"rshift",
130+
"sablier",
131+
"satoshis",
132+
"sats",
133+
"schnorr",
134+
"scripthash",
135+
"sdks",
136+
"secp",
137+
"setup",
138+
"sig",
139+
"sighash",
140+
"signable",
141+
"sigs",
142+
"spedn",
143+
"startup",
144+
"tagline",
145+
"teardown",
146+
"tendo",
147+
"timeout",
148+
"toaltstack",
149+
"troutner",
150+
"tuple",
151+
"tuples",
152+
"txid",
153+
"txvalue",
154+
"unary",
155+
"utxo",
156+
"utxo's",
157+
"utxos",
158+
"vars",
159+
"vimrc",
160+
"vout",
161+
"workdir"
162+
],
163+
"ignoreWords": [
164+
"bitcoincashjs",
165+
"cashcompiler",
166+
"docu",
167+
"infima",
168+
"lichos",
169+
"networkprovider",
170+
"outputnulldata",
171+
"outputp",
172+
"setfiletype",
173+
"tada",
174+
"txage",
175+
"txbytecode",
176+
"txhashoutputs",
177+
"txtime",
178+
"withage",
179+
"withfeeperbyte",
180+
"withhardcodedfee",
181+
"withminchange",
182+
"withopreturn",
183+
"withtime"
184+
],
185+
"ignorePaths": [
186+
// Do not spellcheck NPM files
187+
"**/package*.json",
188+
"yarn.lock",
189+
"yarn-error.log",
190+
// Do not spellcheck some other config files
191+
"**/.gitattributes",
192+
"**/.gitignore",
193+
"**/.vscode/**",
194+
"**/tsconfig*",
195+
"**/.cspell.json",
196+
// Do not spellcheck non-text files
197+
"**.svg",
198+
"**.ttf",
199+
"**.pdf",
200+
// Do not spellcheck generated code
201+
"**/dist/**",
202+
"**/coverage/**",
203+
"**/build/**",
204+
"**/.docusaurus/**",
205+
"**/grammar/**",
206+
// Do not spellcheck vendor code
207+
"**/node_modules/**",
208+
"**/bitcoin-rpc-promise-retry.d.ts"
209+
]
210+
}

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ node_js:
66
script:
77
- yarn test --coverage
88
- yarn lint
9+
- yarn spellcheck
910

1011
after_success:
1112
- yarn coverage

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM node:10 as build
44
WORKDIR /app
55

66
# Invalidate cache
7-
ADD "http://worldtimeapi.org/api/timezone/Europe/Amsterdam.txt" skipcache
7+
ADD "http://worldtimeapi.org/api/timezone/Europe/Amsterdam.txt" skipCache
88

99
# Add app
1010
COPY website /app
@@ -23,7 +23,7 @@ RUN yarn build
2323
FROM nginx:1.17.0-alpine
2424

2525
# Invalidate cache
26-
ADD "http://worldtimeapi.org/api/timezone/Europe/Amsterdam.txt" skipcache
26+
ADD "http://worldtimeapi.org/api/timezone/Europe/Amsterdam.txt" skipCache
2727

2828
# Copy build artifacts from the 'build environment'
2929
RUN rm -rf /usr/share/nginx/html/**

0 commit comments

Comments
 (0)