Files
oh-my-pi/biome.json
T
can1357 cf5b62a5ab chore: configured Biome linter rules for import and type checking
- Enabled noUnusedImports rule and disabled noVoidTypeReturn in Biome linter configuration.
2026-03-22 17:03:53 +01:00

59 lines
1.2 KiB
JSON

{
"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",
"!**/vendor/**/*",
"!**/node_modules/**/*",
"!**/test-sessions.ts",
"!**/template.generated.ts",
"!**/docs-index.generated.ts",
"!**/gen/agent_pb.ts",
"!.worktrees/**/*",
"!.wt/**/*"
]
},
"assist": { "actions": { "source": { "organizeImports": "on" } } }
}