Skip to content

Commit dcd4b33

Browse files
committed
Add prettierrc
1 parent c2a9196 commit dcd4b33

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.prettierrc.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/** @type {import("prettier").Config} */
2+
export default {
3+
useTabs: false,
4+
singleQuote: true,
5+
trailingComma: "none",
6+
semi: false,
7+
printWidth: 100,
8+
plugins: ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
9+
overrides: [
10+
{
11+
files: ["**/*.astro"],
12+
options: {
13+
parser: "astro",
14+
},
15+
},
16+
],
17+
};

0 commit comments

Comments
 (0)