Skip to content

Commit

Permalink
optize code
Browse files Browse the repository at this point in the history
  • Loading branch information
XueMoMo committed Oct 21, 2024
1 parent 15193a5 commit 9a6ff7f
Show file tree
Hide file tree
Showing 11 changed files with 1,486 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
],
'@typescript-eslint/no-inferrable-types': 'off',
'class-methods-use-this': 'off',
complexity: ['error', 21],
complexity: ['error', 25],
eqeqeq: ['error', 'smart'],
'@typescript-eslint/naming-convention': [
'error',
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dist
.env

/.history

/log
/.savedir
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.21.1",
"form-data": "^4.0.1",
"js-sha256": "^0.11.0",
"mysql2": "^3.11.3",
"node-fetch": "^3.3.2",
"node-telegram-bot-api": "^0.66.0",
"qrcode": "^1.5.1",
"redis": "^4.6.15",
"sequelize": "^6.37.4",
"viem": "^2.21.31",
"winston": "^3.15.0",
"winston-daily-rotate-file": "^5.0.0"
},
Expand All @@ -47,6 +49,6 @@
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
"typescript": "5.x"
}
}
Loading

0 comments on commit 9a6ff7f

Please sign in to comment.