Skip to content

Commit

Permalink
fix: prettierignore in boxes (#2902)
Browse files Browse the repository at this point in the history
not sure why the wildcard pattern didn't work in the subpackages
locally, but this works.

--> modifying top level prettierignore and copying the .prettierignore
into the dockerfile for CI
  • Loading branch information
dan-aztec authored Oct 18, 2023
1 parent ba2f671 commit 8f7a200
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion yarn-project/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
node_modules/
dest/
noir-contracts/**/*.json
boxes/
boxes/*/src/artifacts/*.json
boxes/*/src/artifacts/*.ts
*.md
3 changes: 2 additions & 1 deletion yarn-project/boxes/blank-react/.prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/artifacts/**/*.{ts,json}
src/artifacts/**/*.json
src/artifacts/**/*.ts
3 changes: 2 additions & 1 deletion yarn-project/boxes/blank/.prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/artifacts/**/*.{ts,json}
src/artifacts/**/*.json
src/artifacts/**/*.ts
3 changes: 2 additions & 1 deletion yarn-project/boxes/token/.prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/artifacts/**/*.{ts,json}
src/artifacts/**/*.json
src/artifacts/**/*.ts
3 changes: 3 additions & 0 deletions yarn-project/yarn-project-base/Dockerfile.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ boxes/*/*
# Unexclude scripts we use in the Dockerfile.
!yarn-project-base/scripts
!l1-artifacts/scripts

# Unexclude prettierignore
!.prettierignore

0 comments on commit 8f7a200

Please sign in to comment.