docs(instructions): Update pull request guidelines with checklist and template

This commit is contained in:
Kazuki Yamada
2025-05-06 12:34:25 +09:00
parent 89b060ae9b
commit f4d45ef335
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -82,10 +82,19 @@ repomix/
- Description must start with a capital letter
## Pull Request Guidelines
- All pull requests must follow the template defined in `.github/pull_request_template.md`
- All pull requests must follow the template:
```md
<!-- Please include a summary of the changes -->
## Checklist
- [ ] Run `npm run test`
- [ ] Run `npm run lint`
```
- Include a clear summary of the changes at the top of the pull request description
- Reference any related issues using the format `#issue-number`
## Dependencies and Testing
- Inject dependencies through a deps object parameter for testability
- Example:
+1 -1
View File
@@ -72,7 +72,7 @@ export const printTopFiles = (
const topFiles = Object.entries(fileCharCounts)
.sort((a, b) => b[1] - a[1])
.slice(0, topFilesLength);
// Calculate total token count
const totalTokens = Object.values(fileTokenCounts).reduce((sum, count) => sum + count, 0);