Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dedup-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
--output artifacts/jscpd \
--format csharp \
--threshold 100 \
--ignore "**/bin/**,**/obj/**,**/artifacts/**,**/*.Designer.cs,**/*.g.cs,**/*.xlf,**/*.resx,**/PublicAPI.*.txt,**/test/**,**/samples/**,**/formal-verification/**"
--ignore "**/bin/**,**/obj/**,**/artifacts/**,**/*.Designer.cs,**/*.g.cs,**/*.xlf,**/*.resx,**/PublicAPI.*.txt,**/test/**,**/samples/**,**/formal-verification/**,**/src/Polyfills/**"

- name: Analyze duplicates with GitHub Models
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/duplicate-code-detector.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Create separate issues for each distinct duplication pattern found (maximum 3 pa
### Skip These Patterns

- Standard boilerplate code (imports, exports, package declarations)
- Polyfill file structure boilerplate in `src/Polyfills/**` (`// <auto-generated />`, preprocessor guards, `TypeForwardedTo` blocks)
- Test setup/teardown code (acceptable duplication in tests)
- **All test files** (files matching: `*_test.*`, `*.test.*`, `*.spec.*`, `test_*.*`, or in `test/`, `tests/`, `__tests__/`, `spec/` directories)
- **All workflow files** (files under `.github/workflows/*`)
Expand Down
Loading