mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
24c8e7d853
* Add `prettier-plugin-astro` to the monorepo * Fix issue that prevent formatting Picture component * Revert "Fix issue that prevent formatting Picture component" This reverts commit 5536c5122ca01c64e2be6bdbc88aaaa71a690a58. * Add back CLI parameter * Update to latest prettier plugin * Add more ignored files, unfortunately
23 lines
423 B
JSON
23 lines
423 B
JSON
{
|
|
"printWidth": 100,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": true,
|
|
"plugins": ["./node_modules/prettier-plugin-astro"],
|
|
"overrides": [
|
|
{
|
|
"files": [".*", "*.json", "*.md", "*.toml", "*.yml"],
|
|
"options": {
|
|
"useTabs": false
|
|
}
|
|
},
|
|
{
|
|
"files": ["**/*.astro"],
|
|
"options": {
|
|
"parser": "astro"
|
|
}
|
|
}
|
|
]
|
|
}
|