Commit b3b7d124 authored by Jacob Schatz's avatar Jacob Schatz

Add changelog and newlines

parent 6f45cbd1
---
title: Adds scripts to add code formatters in pre-commit via prettier
merge_request:
author:
type: added
#!/bin/sh #!/bin/sh
touch ./.git/hooks/pre-commit touch ./.git/hooks/pre-commit
ln -s -f ./pre-commit .git/hooks/pre-commit ln -s -f ./pre-commit .git/hooks/pre-commit
\ No newline at end of file
...@@ -8,4 +8,4 @@ echo "$jsfiles" | xargs ./node_modules/.bin/prettier --write ...@@ -8,4 +8,4 @@ echo "$jsfiles" | xargs ./node_modules/.bin/prettier --write
# Add back the modified/prettified files to staging # Add back the modified/prettified files to staging
echo "$jsfiles" | xargs git add echo "$jsfiles" | xargs git add
exit 0 exit 0
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment