Alexey Adamovskiy Alexey Adamovskiy - 8 months ago 74
Dart Question

How to run dart static analyze from terminal?

I want to run analyzer from CI-script without actual build and of course without IDE. How to do it?

Answer

You can use dartanalyzer:

dartanalyzer --fatal-warnings *.dart