Files
claude-code-gitea-action/tsconfig.json
Mark Wylde 7ccac04993 fix: prioritize GITEA_SERVER_URL over GITHUB_SERVER_URL for custom Gitea instances
- Modified config.ts to check GITEA_SERVER_URL first, then fall back to GITHUB_SERVER_URL
- Fixes issue where container-based Gitea instances generate internal URLs in comments
- Added comprehensive test suite for URL configuration scenarios
- Updated README.md with configuration documentation and examples
- Added example workflow file for custom URL setup
- Fixed TypeScript configuration to support Node.js globals

Resolves issue #4: Enable GITEA_SERVER_URL environment variable override
2025-07-28 21:09:24 +00:00

31 lines
748 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode (Bun-specific)
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": false
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules"]
}