diff --git a/.cspell.json b/examples/eth-pm/.cspell.json similarity index 100% rename from .cspell.json rename to examples/eth-pm/.cspell.json diff --git a/examples/eth-pm/package.json b/examples/eth-pm/package.json index 45f009d..47f30b8 100644 --- a/examples/eth-pm/package.json +++ b/examples/eth-pm/package.json @@ -27,7 +27,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,src/**/*.{ts,tsx},public/**/*.html}\" -c ../.cspell.json", + "test:spelling": "cspell \"{README.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" }, diff --git a/examples/web-chat/.cspell.json b/examples/web-chat/.cspell.json new file mode 100644 index 0000000..3a31ad2 --- /dev/null +++ b/examples/web-chat/.cspell.json @@ -0,0 +1,130 @@ +{ + "version": "0.1", + "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json", + "language": "en", + "words": [ + "asym", + "backoff", + "backoffs", + "bitjson", + "bitauth", + "bufbuild", + "chainsafe", + "cimg", + "ciphertext", + "circleci", + "codecov", + "commitlint", + "dependabot", + "dingpu", + "Dlazy", + "dnsaddr", + "Dout", + "Dscore", + "ecies", + "editorconfig", + "enr", + "enrs", + "enrtree", + "ephem", + "esnext", + "ethersproject", + "execa", + "exponentiate", + "fanout", + "floodsub", + "fontsource", + "globby", + "gossipsub", + "huilong", + "iasked", + "ihave", + "ihaves", + "ineed", + "ipfs", + "iwant", + "jdev", + "jswaku", + "keccak", + "lastpub", + "libauth", + "libp", + "lightpush", + "livechat", + "mkdir", + "multiaddr", + "multiaddresses", + "multiaddrs", + "multicodec", + "multicodecs", + "multiformats", + "mplex", + "multihashes", + "muxed", + "muxer", + "muxers", + "mvps", + "nodekey", + "nwaku", + "opendns", + "peerhave", + "portfinder", + "prettierignore", + "proto", + "protobuf", + "protoc", + "reactjs", + "recid", + "rlnrelay", + "roadmap", + "sandboxed", + "scanf", + "secio", + "seckey", + "secp", + "sscanf", + "staticnode", + "statusim", + "submodule", + "submodules", + "supercrypto", + "transpiled", + "typedoc", + "unencrypted", + "unmarshal", + "unmount", + "unmounts", + "untracked", + "upgrader", + "vacp", + "varint", + "waku", + "wakuconnect", + "wakuv", + "wakunode", + "webfonts", + "websockets", + "wifi", + "xsalsa20", + "Alives" + ], + "flagWords": [], + "ignorePaths": [ + "package.json", + "package-lock.json", + "yarn.lock", + "tsconfig.json", + "node_modules/**", + "build", + "gen", + "proto", + "*.spec.ts" + ], + "patterns": [ + { + "name": "import", + "pattern": "/import .*/" + } + ], + "ignoreRegExpList": ["import"] +} diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 261571f..755091e 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -40,7 +40,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}\" -c ../.cspell.json", + "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", "proto": "protons src/proto/*.proto",