Skip to content

Commit

Permalink
chore: add check:format script
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Sep 28, 2022
1 parent f2f04ed commit eedd513
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/.vscode

/dev/*/.next
/dev/*/.sanity
/dev/*/build
/dev/*/dist
/dev/*/node_modules
/dev/*/public
/dev/*/static

/etc

/examples/*/.sanity
/examples/*/dist
/examples/*/node_modules
/examples/*/static

/packages/*/coverage
/packages/*/lib
/packages/*/node_modules

/packages/@sanity/*/coverage
/packages/@sanity/*/lib
/packages/@sanity/*/node_modules
/packages/@sanity/client/umd
/packages/@sanity/cli/bin/sanity-cli.js
/packages/@sanity/cli/templates

/test/v2-studio/dist
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"build": "lerna run --scope '{@sanity/*,groq,sanity}' build",
"build:cli": "run-s build",
"build:dts": "tsc --build tsconfig.lib.json",
"check:format": "yarn prettier --check",
"check:packages": "lerna run check:package",
"clean": "lerna run --scope '{@sanity/*,groq,sanity}' clean",
"clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules",
Expand Down

0 comments on commit eedd513

Please sign in to comment.