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

Can generated files be ignored? #16

Closed
britannio opened this issue Jun 11, 2020 · 4 comments · Fixed by #17
Closed

Can generated files be ignored? #16

britannio opened this issue Jun 11, 2020 · 4 comments · Fixed by #17
Assignees
Labels
enhancement New feature or request

Comments

@britannio
Copy link

Is your feature request related to a problem? Please describe.
When I run code generation, the sorting and comments for imports are overridden and they aren't very relevant for generated code anyway.

Describe the solution you'd like
The option to provide a regular expression like **/*.g.dart that skips files matching it.

@github-actions
Copy link

👋 Hello! Thanks for submitting a issue 😄! @Matt-Gleich Will try to respond as soon as possible.

@gleich
Copy link
Member

gleich commented Jun 11, 2020

This is a great idea! I think that this would be added to the current feature to ignore files based of their exact file name. Thank you!

@gleich gleich self-assigned this Jun 11, 2020
@gleich gleich added the enhancement New feature or request label Jun 11, 2020
@gleich gleich mentioned this issue Jun 11, 2020
@britannio
Copy link
Author

Wow, thanks for such a quick fix!

@gleich
Copy link
Member

gleich commented Jun 11, 2020

Np! I only had to change like 3 lines so it was an easy fix!

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

Successfully merging a pull request may close this issue.

2 participants