-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds CI using the cspell spell-checker. This is the command-line form of the VSCode Code Spell Checker extension, which is now "recommended" if you use this repository. This extension understands camel-casing in code and has some helpful built-in dictionaries. It is configured in cspell.yaml; I've set up some nice tweaks like "ignore things that look like GitHub usernames in CHANGELOG.md". We have our own dictionary at `cspell-dict.txt` that you can add words to (either by hand or via the "add word to dictionary" quick fix if using the extension). You can also use things like cSpell:ignore, cSpell:disable-next-line, and cSpell:disable to customize its behavior on a single file or line if that's helpful. This commit also fixes a whole bunch of existing spelling errors. When easy I've chosen to regard runningwordstogether as a typo to be fixed rather than as a pattern to allow (the spell checker is fine with runningWordsTogether). Like Prettier, we don't run the spell-checker on generated files. To make configuring this simpler I've moved the output of graphql-code-generator to a `generated` file just like the protobuf generated files.
- Loading branch information
Showing
45 changed files
with
3,163 additions
and
947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["streetsidesoftware.code-spell-checker"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
afterware | ||
Afterware | ||
afterwares | ||
Afterwares | ||
apng | ||
apolloexample | ||
apollographql | ||
appenders | ||
asynciterable | ||
autodeploys | ||
automerge | ||
Automerge | ||
automerges | ||
backoff | ||
beyoncé | ||
blahblah | ||
Blocklist | ||
bodyparser | ||
boomify | ||
bwvllq | ||
cacheability | ||
cacheable | ||
Cacheable | ||
circleci | ||
codecov | ||
codegen | ||
codepaths | ||
codesandbox | ||
dataloaders | ||
datasource | ||
datasources | ||
deduplicates | ||
deduplicating | ||
deduplication | ||
deps | ||
deserialization | ||
direnv | ||
Direnv | ||
docset | ||
docstrings | ||
DRYRUN | ||
eastus | ||
endregion | ||
engineproxy | ||
Engineproxy | ||
errored | ||
esque | ||
evenodd | ||
falsey | ||
fastify | ||
Fastify | ||
Fastify's | ||
Fastly | ||
fauxpaque | ||
Fauxpaque | ||
Firestore | ||
Fitzwilliam | ||
functionapp | ||
Fuzzer | ||
gcloud | ||
goofql | ||
graphiql | ||
graphqlcodegenerator | ||
GraphQLJSON | ||
herokuapp | ||
hrtime | ||
htmls | ||
httpcache | ||
IHTTP | ||
instanceof | ||
iteratees | ||
josephg | ||
jsdelivr | ||
KHTML | ||
Kubernetes | ||
linearizability | ||
linearizable | ||
Loftis | ||
loglevel | ||
MAXAGE | ||
mget | ||
Mget | ||
microrouter | ||
middlewares | ||
Middlewares | ||
millis | ||
mygraph | ||
myvariant | ||
namespacing | ||
nanos | ||
npmrc | ||
nsolid | ||
oneof | ||
onwarn | ||
paque | ||
parseurl | ||
pbjs | ||
pbts | ||
pook | ||
Pook | ||
pooks | ||
prepended | ||
prestart | ||
Procfile | ||
promisified | ||
proto | ||
protobuf | ||
Protobuf | ||
proxied | ||
Quickstart | ||
Relatedly | ||
retryable | ||
revalidates | ||
roadmap | ||
ROADMAP | ||
runtimes | ||
safelist | ||
safelisting | ||
Safelisting | ||
Scheer | ||
SCRIPTNAME | ||
SIGINT | ||
SIGTERM | ||
sinonjs | ||
sint | ||
sortby | ||
stringifiable | ||
stringification | ||
subchain | ||
subclassing | ||
subpackage | ||
subqueries | ||
sumby | ||
supergraph | ||
Supergraph | ||
testful | ||
testonly | ||
testsuite | ||
tsbuildinfo | ||
typecheck | ||
typeis | ||
typeof | ||
typesafe | ||
unawaited | ||
uncacheable | ||
undersupported | ||
undici | ||
unexecutable | ||
uninstrumented | ||
unparsable | ||
unref | ||
unsubscriber | ||
Unsubscriber | ||
Unversioned | ||
Uppercasing | ||
USERCONFIG | ||
uuidv | ||
vendia | ||
Wallclock | ||
websockets | ||
Wheelock's | ||
xorby | ||
YOURNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Configuration for the cspell command-line tool and the Code Spell Checker | ||
# VSCode extension | ||
# (https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker). | ||
|
||
# Add a repo-specific dictionary. Any new real words can be added to | ||
# cspell-dict.txt, one per line. | ||
dictionaryDefinitions: | ||
- name: workspace | ||
path: './cspell-dict.txt' | ||
description: Custom Workspace Dictionary | ||
addWords: true | ||
scope: workspace | ||
dictionaries: | ||
- workspace | ||
|
||
# Ignore files that aren't check in to git as well as files that aren't written | ||
# by hand. Note that we do want to check, say, JSON files (as package.json | ||
# contains English text like package descriptions). | ||
useGitignore: true | ||
ignorePaths: | ||
- '**/generated/**' | ||
- '**/*.sketch' | ||
- '**/*.svg' | ||
- cspell.yaml | ||
|
||
ignoreRegExpList: | ||
# GitHub Security Advisories | ||
- GHSA-[-\w]+ | ||
|
||
overrides: | ||
# Ignore anything in a changelog file that looks like a GitHub username. | ||
- filename: '**/CHANGELOG.md' | ||
ignoreRegExpList: | ||
- "@[-\\w]+" | ||
# Ignore the targets of links in Markdown/MDX files. | ||
- filename: '**/*.md*' | ||
ignoreRegExpList: | ||
- "\\]\\([^)]+\\)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.