Run files through prettier; add rudimentary .sh support

This commit is contained in:
Michael Wolf
2020-08-12 14:03:26 -05:00
parent 91e86745a0
commit 4cda5e0951
3 changed files with 28 additions and 24 deletions

View File

@@ -21,6 +21,8 @@ function sniff_file_type() {
file_type="jsx"
elif [[ $ff == *.tsx ]]; then
file_type="tsx"
elif [[ $ff = *.sh ]]; then
file_type="sh"
fi
echo $file_type