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

Option to exclude paths #56

Open
mikaelstaldal opened this issue Jul 16, 2019 · 4 comments
Open

Option to exclude paths #56

mikaelstaldal opened this issue Jul 16, 2019 · 4 comments

Comments

@mikaelstaldal
Copy link

It would be nice to have an option to exclude certain paths from formatting. Now you can specify paths to include with the filesPathPattern option, but if you want to exclude multiple paths (and include everything else), the regexp will get very messy.

I want to exclude a few paths and include everything else.

@sombraala
Copy link

Agree.

I have projects which have generated code from another tool which doesn't conform. Would like to be able to ignore that code while applying formatting to the rest of the project. As of right now I imagine I'm going to have to skip execution for those modules, whereas I'd like to just skip it for the generated code.

@klaraward
Copy link
Contributor

Do you still want this @mikaelstaldal ?

@mikaelstaldal
Copy link
Author

Yes.

@xgp
Copy link

xgp commented Oct 3, 2022

+1 for this feature. I have some imported files from another project that don't conform to the formatting. In order to track future diffs, it would be better to leave them as the original formatting.

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

4 participants