0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/prettier.config.js
Emanuele Stoppa 40e8450671
chore: use Biome to format JS files (#10788)
* chore: configuration

* chore: update main commands

* chore: revert formatting package.json

* chore: rebase
2024-04-17 09:37:22 +01:00

24 lines
390 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: ['.*', '*.md', '*.toml', '*.yml'],
options: {
useTabs: false,
},
},
{
files: ['**/*.astro'],
options: {
parser: 'astro',
},
},
],
};