mirror of
https://github.com/yamadashy/repomix.git
synced 2026-05-30 11:18:53 +02:00
docs(instructions): Update pull request guidelines with checklist and template
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user