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
Allow to format only specific files #17
Comments
Yes! Any chance to get this done? I can help with this on a PR if you guys want. I need this for a VSCode extension I'm working on |
You can now fix a single file with |
Does it allow to pass multiple files like |
No, only one file at a time. Ping @nunomaduro. |
@nunomaduro :) could we re-implement this to allow for multiple files ? I think it should be pretty straightforward. |
I would also really like this feature, using with lint-staged specifically. |
You can do this now. |
4 carlos order
I believe it is an important feature to allow for passing list of files which should be formatted upon run instead of formatting all files. This is usable in case formatting is happening on pre-commit hook (for example in our case we have
lint-staged
configured which is formatting staged PHP files before commit). I don't see this anywhere as a documented feature and the command input arguments also does not seem to allow for this.The text was updated successfully, but these errors were encountered: