mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
76 lines
1.4 KiB
JSON
76 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
|
"files": {
|
|
"ignore": [
|
|
"vendor",
|
|
"**/dist/**",
|
|
"**/smoke/**",
|
|
"**/fixtures/**",
|
|
"**/vendor/**",
|
|
"**/.vercel/**"
|
|
],
|
|
"include": ["test/**", "e2e/**", "packages/**", "/scripts/**"]
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"ignore": [
|
|
"benchmark/projects/",
|
|
"benchmark/results/",
|
|
".changeset",
|
|
"pnpm-lock.yaml",
|
|
"*.astro"
|
|
]
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": false,
|
|
"style": {
|
|
"useNodejsImportProtocol": "error",
|
|
"useImportType": "error"
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"include": ["*.test.js"],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noFocusedTests": "error"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|