jsinspect
jsinspect copied to clipboard
[feature request] support suffix other than .js or .jsx
Hi Thanks for creating this brilliant tool. Our project is trying to use this tool, however we want to apply it to a script language defined by our own. It's syntax is a subset of JavaScript so the tool works well on the texts. The only problem is that we are using a suffix defined by ourself. Is it possible to let JsInspect accept an argument to include certain type of files? Thanks
.mjs
is the file extension for native ESM, which is supported in Node.js v13.2+. Even adding it to the hardcoded list of extensions prior to making the list configurable would be great.
you can do jsinspect some_path/**/*.random_file_extension