Started Adding Linting

This commit is contained in:
Ahmad 2024-03-03 17:31:30 -05:00
parent 70bb6f3b42
commit 9765f8deaf
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 647 additions and 5 deletions

View file

@ -8,7 +8,8 @@
"scripts": {
"compile": "npx tsc",
"target": "node ./target/discord-bot.js",
"start": "yarn run compile && yarn run target"
"start": "yarn run compile && yarn run target",
"lint": "npx eslint ./source --ext .ts"
},
"dependencies": {
"discord.js": "^14.14.1",
@ -17,6 +18,7 @@
"devDependencies": {
"@types/node": "^20.11.14",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"eslint": "^8.56.0"
}
}