This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Invalid include_file_not_found when pedantic added to dev_dependencies #72
Comments
I'm having the same but using
I think this started after a $ flutter --version
Flutter 1.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 84f3d28555 (7 days ago) • 2020-10-15 16:26:19 -0700
Engine • revision b8752bbfff
Tools • Dart 2.10.2 |
I too am using 1.22.2:
|
Not sure what could have changed--maybe dev dependencies are being pulled to somewhere different that the analyzer can't find? @bwilkerson any ideas please? |
This looks related: dart-lang/sdk#42910 |
I figured it out... I needed to add |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After adding
pedantic
to a project, I am seeing this warning:The
analysis_options.yaml
is as prescribed:Since I am only using
pedantic
for lints, I added it todev_dependencies
.Note that the rules seem to be working and I am seeing results from
flutter analyze
.However, I noticed that this warning goes away if I move
pedantic
todependencies
. (But I don't really want to because it should not be necessary.) As a result, this warning looks invalid.The text was updated successfully, but these errors were encountered: