Skip to content

Commit

Permalink
Add astro prettier plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanveloso committed Dec 27, 2023
1 parent b7b62f5 commit 070c170
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

12 changes: 12 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import("prettier").Config} */
export default {
plugins: ["prettier-plugin-tailwindcss", 'prettier-plugin-astro'],
overrides: [
{
files: '*.astro',
options: {
parser: 'astro',
},
},
],
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"devDependencies": {
"prettier": "^3.1.1",
"prettier-plugin-astro": "^0.12.2",
"prettier-plugin-tailwindcss": "^0.5.9"
}
}
41 changes: 35 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 070c170

Please sign in to comment.