Skip to content

Commit

Permalink
Expand Prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Jan 22, 2025
1 parent f14ad32 commit f9ba086
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/** @type {import("prettier").Config} */
export default {
trailingComma: "es5",
astroAllowShorthand: true,
bracketSameLine: true,
singleAttributePerLine: true,
overrides: [
{
files: ["*.astro"],
options: {
parser: "astro",
},
},
{
files: ["*.svg"],
options: {
parser: "html",
},
},
],
proseWrap: "always",
};

0 comments on commit f9ba086

Please sign in to comment.