Files
oh-my-pi/biome.json
T
can1357 779ca4872b style(deps): migrated from Prettier to Biome and updated formatting rules
- Removed Prettier configuration files (.prettierignore and .prettierrc) and migrated formatting to Biome.
- Updated Biome configuration from version 2.3.11 to 2.3.12 and changed arrowParentheses rule from 'always' to 'asNeeded'.
- Pinned @biomejs/biome dependency to exact version 2.3.12 in package.json and bun.lock.
- Applied consistent arrow function formatting across 489 files by removing unnecessary parentheses around single parameters.
- Removed blank lines after comment blocks and reorganized imports for consistency across the codebase.
2026-01-24 04:20:19 +01:00

50 lines
1.0 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"useConst": "error",
"useNodejsImportProtocol": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noControlCharactersInRegex": "off",
"noEmptyInterface": "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/*/test/**/*.ts",
"packages/*/examples/**/*.ts",
"!**/vendor/**/*",
"!**/node_modules/**/*",
"!**/test-sessions.ts",
"!**/models.generated.ts",
"!**/template.generated.ts",
"!**/gen/agent_pb.ts"
]
},
"assist": { "actions": { "source": { "organizeImports": "on" } } }
}