Add support for .dart files

This commit is contained in:
Michael Wolf
2023-01-03 12:20:28 -06:00
parent 1ed6175656
commit 4e9affa44f
4 changed files with 19 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ elif [[ $file_type == "golang" ]] ; then
out=$(gofmt -w "$file" 2>/dev/null)
retval="$?"
success_retval=0
elif [[ $file_type == "dart" ]] ; then
out=$(dart format $file)
retval="$?"
success_retval=0
else
echo -n "ignoring"
exit 0