kucherenko / jscpd

Copy/paste detector for programming source code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support for .mjs .cjs files being picked up as .js files

a0n opened this issue · comments

commented

good point, will add

Piggybacking on this issue.

Similarly, TypeScript added support for .mts and .cts.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#new-file-extensions

If needed, I can open a new issue to track it separately.

Implemented at jscpd@3.5.1