1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-11 10:25:40 +03:00

chore: Prettier and lint-staged setup

This commit is contained in:
louistiti 2022-09-03 20:59:04 +08:00
parent 6d836d2d93
commit a79459e5a6
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
2 changed files with 1 additions and 2 deletions

View File

@ -6,6 +6,6 @@ if ! [ -x "$(command -v npm)" ]; then
echo "If you use a version manager tool such as nvm and a git GUI such as GitKraken, please read: https://typicode.github.io/husky/#/?id=command-not-found" >&2
exit 1
else
npm run lint && npx ts-node scripts/commit-msg.js
npx ts-node scripts/commit-msg.js
fi

View File

@ -4,7 +4,6 @@ import { spawn } from 'child_process'
import lang from '@/helpers/lang'
import TcpClient from '@/core/tcp-client'
import server from '@/core/http-server/server'
;(async () => {
dotenv.config()