I'm developing a mobile app plus web frontend with Dart / Flutter with IntelliJ Idea. The current version of Dart warns about correctly typing local variables. There is a Dart style guide https://dart-lang.github.io/linter/lints/omit_local_variable_types.html saying "Usually, the types of local variables can be easily inferred, so it isn't necessary to annotate them."
This might be true for a compiler but it sure is not true for human readers. Since it especially defers type problems to the usage part of a variable, bug detection and code reading is becoming more expensive.
So how can I disable this warning on compiler / project level?
Even better: how can I force a warning if the type is not set?