yufan.me/.prettierrc
2024-06-14 02:11:26 +08:00

21 lines
455 B
Plaintext

{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": true,
"astroAllowShorthand": true,
"astroOrganizeImportsMode": "All",
"endOfLine": "lf",
"plugins": ["prettier-plugin-astro", "prettier-plugin-organize-imports", "prettier-plugin-astro-organize-imports"],
"overrides": [
{
"files": "**/*.astro",
"options": {
"parser": "astro"
}
}
]
}