mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
72c7ae9901
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
24 lines
390 B
JavaScript
24 lines
390 B
JavaScript
/** @type {import("prettier").Config} */
|
|
export default {
|
|
printWidth: 100,
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'all',
|
|
useTabs: true,
|
|
plugins: ['prettier-plugin-astro'],
|
|
overrides: [
|
|
{
|
|
files: ['.*', '*.md', '*.toml', '*.yml'],
|
|
options: {
|
|
useTabs: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.astro'],
|
|
options: {
|
|
parser: 'astro',
|
|
},
|
|
},
|
|
],
|
|
};
|