From 94ff4ca40fbbc643a9b7f36d85a8db8397585c12 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 5 May 2021 16:40:23 +1000 Subject: [PATCH] Use one cspell file for all project inc examples --- .cspell.json | 5 +++ examples/web-chat/.cspell.json | 78 ---------------------------------- examples/web-chat/package.json | 2 +- 3 files changed, 6 insertions(+), 79 deletions(-) delete mode 100644 examples/web-chat/.cspell.json diff --git a/.cspell.json b/.cspell.json index bfb951b8cd..03e3041bda 100644 --- a/.cspell.json +++ b/.cspell.json @@ -30,9 +30,11 @@ "ihaves", "ineed", "iwant", + "jdev", "lastpub", "libauth", "libp", + "livechat", "mkdir", "multiaddr", "multiaddrs", @@ -45,10 +47,12 @@ "prettierignore", "protobuf", "protoc", + "reactjs", "rlnrelay", "sandboxed", "secio", "staticnode", + "statusim", "submodule", "submodules", "transpiled", @@ -58,6 +62,7 @@ "upgrader", "waku", "wakunode", + "webfonts", "websockets" ], "flagWords": [], diff --git a/examples/web-chat/.cspell.json b/examples/web-chat/.cspell.json deleted file mode 100644 index 9f7eb6d59d..0000000000 --- a/examples/web-chat/.cspell.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "version": "0.1", - "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json", - "language": "en", - "words": [ - "backoff", - "backoffs", - "bitjson", - "bitauth", - "bufbuild", - "cimg", - "circleci", - "codecov", - "commitlint", - "dependabot", - "dingpu", - "Dlazy", - "Dout", - "Dscore", - "editorconfig", - "esnext", - "execa", - "exponentiate", - "fanout", - "globby", - "gossipsub", - "iasked", - "ihave", - "ihaves", - "ineed", - "iwant", - "jdev", - "lastpub", - "libauth", - "libp", - "livechat", - "mkdir", - "multiaddr", - "multiaddrs", - "multicodecs", - "mplex", - "muxed", - "muxer", - "nodekey", - "peerhave", - "prettierignore", - "protobuf", - "protoc", - "reactjs", - "rlnrelay", - "sandboxed", - "secio", - "staticnode", - "statusim", - "submodule", - "submodules", - "transpiled", - "typedoc", - "unmounts", - "untracked", - "upgrader", - "waku", - "wakunode", - "webfonts", - "websockets" - ], - "flagWords": [], - "ignorePaths": [ - "package.json", - "package-lock.json", - "yarn.lock", - "tsconfig.json", - "node_modules/**", - "build", - "gen", - "proto" - ] -} diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 92b466e5b4..63b2151c74 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -35,7 +35,7 @@ "test": "run-s build test:*", "test:lint": "eslint src --ext .ts --ext .tsx", "test:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" --list-different", - "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\"", + "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../../.cspell.json", "fix:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" --write", "fix:lint": "eslint src --ext .ts --ext .tsx --fix", "js-waku:build": "cd ../; npm run build",