2024-01-21 12:54:41 +08:00
|
|
|
{
|
|
|
|
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
|
|
|
|
"extends": [],
|
|
|
|
"files": { "ignoreUnknown": true },
|
|
|
|
"organizeImports": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"formatter": {
|
|
|
|
"enabled": true,
|
|
|
|
"formatWithErrors": false,
|
2024-08-03 16:40:20 +08:00
|
|
|
"ignore": ["src/config.ts"],
|
2024-01-21 12:54:41 +08:00
|
|
|
"indentStyle": "space",
|
|
|
|
"indentWidth": 2,
|
|
|
|
"lineWidth": 80
|
|
|
|
},
|
|
|
|
"javascript": {
|
|
|
|
"parser": {
|
|
|
|
"unsafeParameterDecoratorsEnabled": true
|
|
|
|
},
|
|
|
|
"formatter": {
|
|
|
|
"quoteStyle": "single",
|
|
|
|
"jsxQuoteStyle": "single",
|
|
|
|
"trailingComma": "all",
|
|
|
|
"semicolons": "asNeeded",
|
|
|
|
"arrowParentheses": "asNeeded"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"json": {
|
|
|
|
"parser": { "allowComments": true },
|
|
|
|
"formatter": {
|
|
|
|
"enabled": true,
|
|
|
|
"indentStyle": "space",
|
|
|
|
"indentWidth": 2,
|
|
|
|
"lineWidth": 80
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"linter": {
|
|
|
|
"ignore": [],
|
|
|
|
"rules": {
|
|
|
|
"a11y": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"complexity": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"correctness": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"security": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"style": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"suspicious": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"nursery": {
|
|
|
|
"recommended": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|