b7d7ae9774
- biome.json: 2-space indent, single quotes, recommended rules - All 30 source files formatted (auto-fix, no logic changes) - CI: Biome lint runs before type check and tests - Root package.json with lint/lint:fix scripts 89 unit tests green (82 core + 7 watcher). 小橘 🍊(NEKO Team) Co-authored-by: 小橘 <xiaoju@shazhou.work>
44 lines
683 B
JSON
44 lines
683 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": ["packages/**/*.ts"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"suspicious": {
|
|
"noExplicitAny": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"semicolons": "always"
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|