Add support for .css and .scss

This commit is contained in:
Michael Wolf
2020-07-05 16:24:18 -05:00
parent 2183ca480b
commit 2e2508c4c6
3 changed files with 10 additions and 2 deletions

View File

@@ -18,7 +18,9 @@ if [[ $file_type == "javascript" || \
$file_type == "php" || \
$file_type == "html" || \
$file_type == "jsx" || \
$file_type == "tsx" ]] ; then
$file_type == "tsx" || \
$file_type == "css" || \
$file_type == "scss" ]] ; then
out=$(npx prettier --write $file)
retval="$?"
success_retval=0