Using an analysis option definition like below helps to disable lint warnings for tests files, but then i also don't get any compiler errors anymore nor the auto-import suggestions.
analyzer:
exclude:
- test/**
I tried also different variations but non of them worked. Any ideas how to solve this?
Android Studio Bumblebee | 2021.1.1 Patch 1 Flutter 2.10.1 flutter_lints: ^1.0.4
CodePudding user response:
Instead of adding exclude rule, you can create another analysis_options.yaml
file inside your test folder so that the analyzer would use the newly created file to analyze the test folder.