0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-05 10:44:53 +01:00
gitea/AGENTS.md
2026-02-02 19:20:40 +01:00

750 B

Instructions for agents

  • Use make help to find available development targets
  • Use the latest Go stable release when working on Go code
  • Use the latest Node.js LTS release and pnpm when working on TypeScript code
  • Before running Go tests, run make deps-backend to install dependencies
  • Before running TypeScript tests, run make deps-frontend to install dependencies
  • Before committing .go, run make fmt to format, and run make lint-go to lint
  • Before committing .ts changes, run make lint-js to lint
  • Before committing go.mod changes, run make tidy
  • Before committing new .go files, add the current year into the copyright header
  • Before committing any files, remove all trailing whitespace from source code lines