Alexey Adamovskiy Alexey Adamovskiy - 3 months ago 43
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