- Added prettier-plugin-astro as dev dependency
- Removed incorrect top-level "typescript" parser config
- This causes the MDX files be parsed as typescript and error out.
Signed-off-by: Noa Virellia <noa@requiem.garden>
30 lines
719 B
JSON
30 lines
719 B
JSON
{
|
|
"plugins": ["prettier-plugin-astro"],
|
|
"overrides": [
|
|
{
|
|
"files": "*.astro",
|
|
"options": {
|
|
"parser": "astro"
|
|
}
|
|
}
|
|
],
|
|
"printWidth": 120,
|
|
"tabWidth": 4,
|
|
"useTabs": false,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"quoteProps": "as-needed",
|
|
"jsxSingleQuote": true,
|
|
"trailingComma": "all",
|
|
"bracketSpacing": true,
|
|
"objectWrap": "preserve",
|
|
"bracketSameLine": false,
|
|
"arrowParens": "always",
|
|
"proseWrap": "preserve",
|
|
"htmlWhitespaceSensitivity": "ignore",
|
|
"vueIndentScriptAndStyle": false,
|
|
"endOfLine": "lf",
|
|
"embeddedLanguageFormatting": "auto",
|
|
"singleAttributePerLine": false
|
|
}
|