Add a Firebase lint: only_use_instanceFor
#11393
Unanswered
bvoq
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For larger projects using Firebase we most likely don't want to use:
FirebaseAnalytics.instance FirebaseCrashlytics.instance ...
and instead use
FirebaseAnalytics.instanceFor FirebaseCrashlytics.instanceFor ...
It would be neat, if flutterfire provided a lint for this that could be enabled by a project maintainer.
Beta Was this translation helpful? Give feedback.
All reactions