Alexey Adamovskiy Alexey Adamovskiy - 23 days ago 10
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