yufan.me/.prettierrc

21 lines
455 B
Plaintext
Raw Permalink Normal View History

{
"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"
}
}
]
}