Closed lsaudon closed 11 months ago
Hey, thanks for your proposition.
I'd expect you don't mess your feature tests with regular unit tests? If so, assuming you have some folder (let's say you call it feature
), why don't you filter feature tests in analysis_options.yaml
like that:
analyzer:
exclude:
- '**/feature**/*_test.dart'
For the moment, I'm testing the package in an example app.
Cool! Am I right that the proposed workaround solves the problem and so we may close the issue?
It's not possible to make
*.g.dart
files, but it would be possible to make*_feature_test.dart
so you can ignore the files in the linter.