kucherenko / jscpd

Copy/paste detector for programming source code.
MIT License
4.7k stars 203 forks source link

compare a file with a directory #614

Open zodman opened 11 months ago

zodman commented 11 months ago

with the usage of the lintstage I would like it is possible to add support for compare a file with a directory, the same functionality with skipLocal but compare with a file with a directory. to find it the file have a duplicate code with the source code.

npx jscpd -g -p */.ts -r consoleFull --skipLocal src/ src/myfile.changed.ts

kucherenko commented 9 months ago

good point, thank you for the issue

zodman commented 8 months ago

duplicate of #588