Skip to content

Add jscpd to lint and deduplicate shared rule plumbing - #469

Merged
lo1tuma merged 1 commit into
mainfrom
add-jscpd-lint
May 26, 2026
Merged

Add jscpd to lint and deduplicate shared rule plumbing#469
lo1tuma merged 1 commit into
mainfrom
add-jscpd-lint

Conversation

@lo1tuma

@lo1tuma lo1tuma commented May 26, 2026

Copy link
Copy Markdown
Owner

Add jscpd to just lint with a 0.5% threshold scoped to shipped TypeScript sources.

Refactor shared rule plumbing for callback tracking, Mocha config value checks, hook allow-lists, return checks, and direct statement detection so the source tree stays under the duplication gate.

Local verification: npx just lint; npx just test-unit-with-coverage. npx just test-bench still misses the runtime budget on this machine, and the same runtime benchmark miss reproduces on current main.

Add a jscpd lint task scoped to shipped source files.

Refactor shared rule plumbing so the source tree stays under the
configured duplication threshold without changing rule behavior.
@lo1tuma
lo1tuma merged commit 404660d into main May 26, 2026
8 of 9 checks passed
@lo1tuma
lo1tuma deleted the add-jscpd-lint branch May 26, 2026 22:13
lo1tuma added a commit that referenced this pull request Jul 17, 2026
Add jscpd to lint and deduplicate shared rule plumbing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant