Format all code using prettier.

This commit is contained in:
2024-10-12 21:04:57 +08:00
parent c323698b2a
commit 9cf9745d49
18 changed files with 199 additions and 101 deletions

12
.prettierrc.mjs Normal file
View File

@@ -0,0 +1,12 @@
/** @type {import("prettier").Config} */
export default {
plugins: ['prettier-plugin-astro'],
overrides: [
{
files: '*.astro',
options: {
parser: 'astro',
},
},
],
};