a7126c453f
- packages/core, packages/cli, packages/daemon - biome: noDefaultExport, useNodejsImportProtocol, noStaticOnlyClass - docs/coding-conventions.md: 函数式优先,type over interface
43 lines
777 B
JSON
43 lines
777 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double",
|
|
"semicolons": "always"
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["tsup.config.ts"],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"noDefaultExport": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"style": {
|
|
"noDefaultExport": "error",
|
|
"useNodejsImportProtocol": "error"
|
|
},
|
|
"complexity": {
|
|
"noThisInStatic": "error",
|
|
"noStaticOnlyClass": "error"
|
|
}
|
|
}
|
|
}
|
|
}
|