terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.81k stars 246 forks source link

Extensions "mjs" and "cjs" do not work #380

Open suzuki53352 opened 10 months ago

suzuki53352 commented 10 months ago

The extension "mjs" is the default for AWS Lambda (Node18) and I also use it. I'm currently using Lizard with the extension "mjs" replaced with "js". It would be helpful if you can use mjs and cjs.

find . -type f -name "*.mjs" | sed "s/\.mjs$/\./"|xargs -I% mv %mjs %js