Enable spelling for guides and fix it

This commit is contained in:
Franck Royer 2021-08-05 16:21:16 +10:00
parent b4dcb73e30
commit 5076fa553c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
4 changed files with 6 additions and 4 deletions

View File

@ -70,8 +70,10 @@
"statusim", "statusim",
"submodule", "submodule",
"submodules", "submodules",
"supercrypto",
"transpiled", "transpiled",
"typedoc", "typedoc",
"unmount",
"unmounts", "unmounts",
"untracked", "untracked",
"upgrader", "upgrader",

View File

@ -270,8 +270,8 @@ function App() {
time.setTime(timestamp); time.setTime(timestamp);
const message = { text, timestamp: time }; const message = { text, timestamp: time };
setMessages((currMessages) => { setMessages((messages) => {
return [message].concat(currMessages); return [message].concat(messages);
}); });
}, []); }, []);

View File

@ -141,7 +141,7 @@ waku.store
``` ```
Note that `WakuStore.queryHistory` select an available store node for you. Note that `WakuStore.queryHistory` select an available store node for you.
However, it can only query connected node, which is why the bootstraping is necessary. However, it can only query connected node, which is why the bootstrapping is necessary.
The call can throw an error if no store node is available. The call can throw an error if no store node is available.

View File

@ -29,7 +29,7 @@
"test": "run-s build test:*", "test": "run-s build test:*",
"test:lint": "eslint src --ext .ts", "test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --list-different", "test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --list-different",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"", "test:spelling": "cspell \"{README.md,.github/*.md,guides/*.md,src/**/*.ts}\"",
"test:unit": "nyc --silent mocha", "test:unit": "nyc --silent mocha",
"test:karma": "karma start", "test:karma": "karma start",
"examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done", "examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done",