chore: Remove old TypeScript git hooks.
This commit is contained in:
parent
aaacdfd5f4
commit
4ca2c809c9
2 changed files with 0 additions and 20 deletions
|
@ -1,2 +0,0 @@
|
||||||
[core]
|
|
||||||
hooksPath = .githooks/
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue