chore(test): require zero duplicate clones
This commit is contained in:
parent
e94323ee29
commit
41b314b5ef
|
|
@ -145,7 +145,7 @@ Run all quality gates (see [Code quality](#code-quality) for the self-review che
|
|||
```sh
|
||||
bun run check # oxlint + tsgo type-aware lint & typecheck
|
||||
bun run format # oxfmt
|
||||
bun run test:dupes # jscpd < 3%
|
||||
bun run test:dupes # jscpd — zero clones
|
||||
bun run test:unit # bun:test
|
||||
bun run test # Playwright E2E
|
||||
```
|
||||
|
|
@ -279,7 +279,7 @@ Before submitting a PR, run the full quality gate and do a self-review:
|
|||
```sh
|
||||
bun run check # oxlint + tsgo type-aware lint & typecheck — zero errors required
|
||||
bun run format # oxfmt with import sorting
|
||||
bun run test:dupes # jscpd — must stay under 3% duplication
|
||||
bun run test:dupes # jscpd — zero clones required
|
||||
bun run test:unit # bun:test
|
||||
bun run test # Playwright E2E
|
||||
```
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
"figma:debug": "open -a Figma --args --remote-debugging-port=9222",
|
||||
"test:unit": "bun test ./tests/engine",
|
||||
"test:coverage": "bun test --coverage ./tests/engine",
|
||||
"test:dupes": "jscpd packages/core/src packages/cli/src src --min-lines 5 --min-tokens 50 --format typescript",
|
||||
"test:dupes": "jscpd packages/core/src packages/cli/src src --min-lines 5 --min-tokens 50 --format typescript --threshold 0",
|
||||
"open-pencil": "bun packages/cli/src/index.ts",
|
||||
"docs:dev": "bun --filter @open-pencil/docs dev",
|
||||
"docs:build": "bun --filter @open-pencil/docs build",
|
||||
|
|
|
|||
Loading…
Reference in a new issue