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

ignored_files: example suggestion #68

Open
Tyrn opened this issue Jun 4, 2023 · 1 comment
Open

ignored_files: example suggestion #68

Tyrn opened this issue Jun 4, 2023 · 1 comment

Comments

@Tyrn
Copy link

Tyrn commented Jun 4, 2023

Hi,

You'd do a favor to a lot of people who deal with regular expressions just once in a long while. Add to README a couple of variants, something like this:

import_sorter:
  ignored_files:
    - \/.*\.gr\.dart
    - \/.*\.freezed\.dart

Looks like a trifle, but really it's up to fifteen minutes' waste of time per [not so bright] a person like me...

@patachi
Copy link

patachi commented Jul 26, 2023

- \/lib\/* : OK

- \/lib\/*.pb.dart : Fail
- \/lib\/protos\/* : Fail
- \/lib\protos\* : Fail
- \/lib/protos/* : Fail
- \lib\protos\* : Fail
- /lib/protos/* : Fail

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

2 participants