6bd4cf24fd
- Enabled Biome VCS settings and expanded fix scripts with new `fix:all` and `fix:tools:all` commands. - Updated `fix:ts` and `fix:tools` to separate changed-only checks from full-run formatting and generation tasks. - Simplified edit-benchmark variant parsing by removing hardcoded validation logic, and removed deprecated flags from `run-rs-task.ts`.
66 lines
1.3 KiB
JSON
66 lines
1.3 KiB
JSON
{
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true,
|
|
"defaultBranch": "main"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedImports": "error",
|
|
"noVoidTypeReturn": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useConst": "error",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noEmptyInterface": "off",
|
|
"noConstEnum": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"bracketSpacing": true,
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/src/**/*.tsx",
|
|
"packages/*/test/**/*.ts",
|
|
"packages/*/examples/**/*.ts",
|
|
"packages/*/scripts/**/*.ts",
|
|
"packages/*/*.ts",
|
|
"!packages/natives/native/index.d.ts",
|
|
"!**/vendor/**/*",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/template.generated.ts",
|
|
"!**/docs-index.generated.ts",
|
|
"!**/gen/agent_pb.ts",
|
|
"!.worktrees/**/*",
|
|
"!.wt/**/*"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|