Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support suffix other than .js or .jsx #84

Open
JillShu opened this issue Jan 4, 2019 · 2 comments
Open

[feature request] support suffix other than .js or .jsx #84

JillShu opened this issue Jan 4, 2019 · 2 comments

Comments

@JillShu
Copy link

JillShu commented Jan 4, 2019

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

@JillShu JillShu changed the title support suffix other than .js or .jsx [feature request] support suffix other than .js or .jsx Jan 4, 2019
@jaydenseric
Copy link

.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.

@ray-holland-es
Copy link

you can do jsinspect some_path/**/*.random_file_extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants