Run files through prettier; add rudimentary .sh support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user