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