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

How to Specify Valid File Extensions? #215

Open
yourasheesh opened this issue Aug 29, 2018 · 0 comments
Open

How to Specify Valid File Extensions? #215

yourasheesh opened this issue Aug 29, 2018 · 0 comments

Comments

@yourasheesh
Copy link

yourasheesh commented Aug 29, 2018

I have a file with file extension *.phtml in which i have written mixed code PHP, HTML and Javascript.
I want to validate that inline javascript code using this tool.
I used command line
plato -r -d api/plato test.phtml test1r.js test2.js test3.js

But plato only evaluate *.js file not *.phtml files.

So, Is there any option available to allow file extensions ?
For example plato --extensions=js,phtml -r -d api/plato test.phtml test1r.js test2.js test3.js

kyungilpark added a commit to kyungilpark/plato that referenced this issue Jun 29, 2019
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

1 participant