feat: migrate JavaScript files to TypeScript, enhancing type safety and maintainability across the codebase
This commit is contained in:
parent
3db2bb9160
commit
c582f2004e
107 changed files with 5876 additions and 3588 deletions
7
.husky/pre-commit
Executable file
7
.husky/pre-commit
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
# Skip in CI environments
|
||||
if [ -n "$CI" ] || [ -n "$FORGEJO_ACTIONS" ] || [ -n "$GITHUB_ACTIONS" ]; then
|
||||
echo "Skipping pre-commit hooks in CI environment"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
npx lint-staged
|
||||
Loading…
Add table
Add a link
Reference in a new issue