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>
57 lines
1 KiB
JSON
57 lines
1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.8.1/schema.json",
|
|
"files": {
|
|
"ignore": [
|
|
"vendor",
|
|
"**/dist/**",
|
|
"**/smoke/**",
|
|
"**/fixtures/**",
|
|
"**/vendor/**",
|
|
"**/.vercel/**"
|
|
],
|
|
"include": ["test/**", "e2e/**", "packages/**"]
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"ignore": [
|
|
"benchmark/projects/",
|
|
"benchmark/results/",
|
|
".changeset",
|
|
"pnpm-lock.yaml",
|
|
"*.astro"
|
|
]
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": { "enabled": false },
|
|
"javascript": {
|
|
"formatter": {
|
|
"trailingCommas": "all",
|
|
"quoteStyle": "single",
|
|
"semicolons": "always"
|
|
}
|
|
},
|
|
"json": {
|
|
"parser": {
|
|
"allowComments": true,
|
|
"allowTrailingCommas": true
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"trailingCommas": "none"
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["package.json"],
|
|
"json": {
|
|
"formatter": {
|
|
"lineWidth": 1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|