Skip to content

Commit

Permalink
chore: no prettier multiple ignore-path
Browse files Browse the repository at this point in the history
Prettier 2.x doesn't support it.
  • Loading branch information
nix6839 committed Sep 1, 2023
1 parent 11be40a commit c145a47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pnpm-lock.yaml
dist/
.astro/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "nx run-many --target=build",
"lint": "nx run-many --target=lint",
"type:check": "nx run-many --target=type:check",
"format": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --write --ignore-path ./.gitignore --ignore-path ./.prettierignore",
"format:check": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --check --ignore-path ./.gitignore --ignore-path ./.prettierignore"
"format": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --write",
"format:check": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --check"
},
"devDependencies": {
"@nix6839/prettier-config": "1.0.8",
Expand Down

0 comments on commit c145a47

Please sign in to comment.