1bebc8c6fd
- Expanded Biome configuration to include TypeScript files in package root directories with new glob pattern `packages/*/*.ts`.
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"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/*/*.ts",
|
|
"!**/vendor/**/*",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/template.generated.ts",
|
|
"!**/gen/agent_pb.ts"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|