dartfmt Also enabled dartfmt checking for example
diff --git a/pkgs/markdown/example/app.dart b/pkgs/markdown/example/app.dart index 86814ff..9e0fd37 100644 --- a/pkgs/markdown/example/app.dart +++ b/pkgs/markdown/example/app.dart
@@ -50,6 +50,7 @@ pos++; new Timer(typing, addCharacter); } + new Timer(typing, addCharacter); }
diff --git a/pkgs/markdown/tool/travis.sh b/pkgs/markdown/tool/travis.sh index 33c9a51..1d55ade 100755 --- a/pkgs/markdown/tool/travis.sh +++ b/pkgs/markdown/tool/travis.sh
@@ -5,14 +5,14 @@ # Analyze sources. Add --fatal-hints, --fatal-warnings, --fatal-lints # as you see fit. -dartanalyzer --strong lib/ test/ +dartanalyzer lib/ test/ # Run tests. pub run test # Assert that code is formatted. pub global activate dart_style -dirty_code=$(pub global run dart_style:format --dry-run lib/ test/) +dirty_code=$(pub global run dart_style:format --dry-run lib/ test/ example/ benchmark/) if [[ -n "$dirty_code" ]]; then echo Unformatted files: echo "$dirty_code" | sed 's/^/ /'