Reviewing PRs is hard. Dependabot PRs flood your list, and test file changes add noise to every review. PruneR helps you cut through the clutter:
.test.ts noise againHence the name PruneR
[!NOTE]
This is for very3 lazy and my kinda people, who donât want to do anything manually.
Click the PruneR icon in your toolbar while youâre on a GitHub PR list page
(https://github.com/org/repo/pulls). It adds -label:dependencies to the URL,
hiding all dependabot / dependency PRs in one click. Click again to show them.
When you open a PRâs Files changed tab (/pull/*/files), PruneR
automatically checks the âViewedâ checkbox on:
| Pattern | Examples |
|---|---|
*.test.{ts,tsx,js,jsx,mjs,cjs} |
button.test.tsx |
*.spec.{ts,tsx,js,jsx,mjs,cjs} |
utils.spec.ts |
__tests__/ |
__tests__/foo.ts |
test/ or tests/ |
test/setup.ts |
__mocks__/ |
__mocks__/fs.ts |
__fixtures__/, fixtures/ |
fixtures/data.json |
__snapshots__/, *.snap |
__snapshots__/button.test.tsx.snap |
*.stories.{ts,tsx,js,jsx} |
button.stories.tsx |
mock/, mocks/ |
mocks/handlers.ts |
These files are still visible in the diff â theyâre just marked âViewedâ so they collapse out of your review flow. Focus on the actual logic changes.
Toggle on/off: Right-click the PruneR icon in your toolbar and select âAuto-mark test files as viewedâ to enable or disable this feature. A checkmark â means itâs active.
Prefer to run it locally, or want a version before it clears Web Store review?
.zip from the latest releasechrome://extensions/git clone https://github.com/aashutoshrathi/PruneR.git
cd PruneR
Then load the folder as an unpacked extension in Chrome:
chrome://extensions/ & enable Developer ModeA new release triggers a GitHub Actions workflow that:
To publish a new version:
version in manifest.jsongit commit -m ":arrow_up: bump: vX.Y.Z"git tag vX.Y.Zgit push && git push --tagsMIT Š Aashutosh Rathi