mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
c06b41a6b8
* chore: fix prettier config * chore: format * chore(prettier): format `.astro` files
24 lines
400 B
JavaScript
24 lines
400 B
JavaScript
/** @type {import("prettier").Config} */
|
|
export default {
|
|
printWidth: 100,
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'es5',
|
|
useTabs: true,
|
|
plugins: ['prettier-plugin-astro'],
|
|
overrides: [
|
|
{
|
|
files: ['.*', '*.json', '*.md', '*.toml', '*.yml'],
|
|
options: {
|
|
useTabs: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.astro'],
|
|
options: {
|
|
parser: 'astro',
|
|
},
|
|
},
|
|
],
|
|
};
|