prefer `dart analyze` (#2361)
prefer `dart analyze` (#2361)

* prefer `dart analyze`

* test to validate warnings break build.

* + infos

* revert

* warnings are fatal by default
dart-lang/linter,dart-lang/linter