chore: Remove old TypeScript git hooks.

This commit is contained in:
Tera << 8 2024-12-28 16:00:37 -05:00
parent aaacdfd5f4
commit 4ca2c809c9
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
2 changed files with 0 additions and 20 deletions

View file

@ -1,2 +0,0 @@
[core]
hooksPath = .githooks/

View file

@ -1,18 +0,0 @@
#!/usr/bin/env bash
shopt -s globstar
set -e
ROOT="$(git rev-parse --show-toplevel)"
pushd $ROOT/api
npx eslint src
popd
pushd $ROOT/lom
npx eslint src
popd
# Formatting step
$ROOT/api/node_modules/.bin/prettier --ignore-unknown --write $ROOT/{api,lom}/{eslint.config.js,src/**/*.ts}
git update-index --again
exit 0