Skip to content

Commit

Permalink
fix prettierignore
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed May 28, 2024
1 parent dade0b5 commit f6b3e6c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": "./custom-words.txt",
"path": "./resources/custom-words.txt",
"addWords": true
}
],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --cache --fix",
"prettier --write --ignore-path .eslintignore --ignore-path resources/.prettierignore",
"prettier --write --ignore-path .eslintignore --ignore-path resources/prettierignore",
"jest --passWithNoTests",
"yarn lint-cspell"
],
"*.{md,html,json,css}": [
"prettier --write --ignore-path .eslintignore --ignore-path resources/.prettierignore",
"prettier --write --ignore-path .eslintignore --ignore-path resources/prettierignore",
"yarn lint-cspell"
]
},
Expand Down Expand Up @@ -62,7 +62,7 @@
"prepublishOnly": "./scripts/prepublish.sh",
"postbuild": "wsrun --exclude-missing postbuild",
"pretty": "yarn pretty-check --write",
"pretty-check": "prettier --cache --check --ignore-path .gitignore --ignore-path resources/.prettierignore --ignore-path .eslintignore .",
"pretty-check": "prettier --cache --check --ignore-path .gitignore --ignore-path resources/prettierignore --ignore-path .eslintignore .",
"ci:version": "yarn changeset version && yarn build && yarn format",
"release": "yarn build && yarn build-bundles && (wsrun release --exclude-missing --serial --recursive --changedSince main -- || true) && yarn changeset publish",
"release:canary": "(node scripts/canary-release.js && yarn build-bundles && yarn changeset publish --tag canary) || echo Skipping Canary...",
Expand Down
2 changes: 0 additions & 2 deletions resources/.prettierignore

This file was deleted.

File renamed without changes.
3 changes: 3 additions & 0 deletions resources/prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# this file contains delicate whitespace character assertions that i could not get prettier to ignore
# if removed it will cause the tests to fail
../packages/graphql-language-service-server/src/__tests__/parseDocument.test.ts

0 comments on commit f6b3e6c

Please sign in to comment.