Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some fixes for prettier/cspell #3263

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
node_modules/
coverage/
.nyc_output
packages/graphiql/typedoc/
dist/
esm/
packages/*/out/
Expand All @@ -25,6 +24,7 @@ yarn-1.18.0.js
examples/*/yarn.lock
package-lock.json
.eslintcache
.cspellcache

vite.config.d.ts
vite.config.js
Expand All @@ -48,3 +48,4 @@ packages/graphiql/graphiql*.js
packages/graphiql/*.css
packages/graphiql/*.map
packages/graphiql/cypress/screenshots/
packages/graphiql/typedoc/
3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@ working-group/
packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql
CHANGELOG.md

# bug in v3 https://github.com/prettier/prettier/issues/14964
packages/graphql-language-service/benchmark/fixtures/github.graphql

# remove after merge of https://github.com/graphql/graphiql/pull/3256
*.flow
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"language": "en",
"useGitignore": true,
"cache": {
"useCache": true
},
"dictionaries": ["custom-words"],
"dictionaryDefinitions": [
{
Expand Down
4 changes: 1 addition & 3 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ clsx
codemirror
codesandbox
combobox
commitlint
delivr
dompurify
esbuild
execa
graphiql
GraphiQL
headlessui
inno
intellij
Expand Down Expand Up @@ -161,7 +160,6 @@ urql
vash
websockets


// fonts
fira
menlo
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-create-react-app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Graphiql example created using create-react-app"
content="GraphiQL example created using create-react-app"
/>

<title>GraphiQL create-react-app Example</title>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"license-check": "jsgl --local ./",
"lint": "yarn eslint && yarn lint-check && yarn pretty-check && yarn lint-cspell",
"lint-check": "eslint-config-prettier .eslintrc.js",
"lint-cspell": "cspell",
"lint-cspell": "cspell --unique",
"lint-fix": "yarn eslint --fix",
"postbuild": "yarn workspace codemirror-graphql run postbuild",
"prebuild-bundles": "yarn build-bundles-clean",
Expand Down
Loading