mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
Added Eslint GitHub Action and Prettier
This commit is contained in:
parent
d8df48438d
commit
512b7526ab
21 changed files with 480 additions and 293 deletions
|
@ -10,7 +10,9 @@
|
|||
"compile": "npx tsc",
|
||||
"target": "node ./target/discord-bot.js",
|
||||
"start": "yarn run compile && yarn run target",
|
||||
"lint": "npx eslint ./src"
|
||||
"lint": "npx eslint ./src && npx tsc --noEmit",
|
||||
"format": "prettier --check --ignore-path .prettierignore .",
|
||||
"format:fix": "prettier --write --ignore-path .prettierignore ."
|
||||
},
|
||||
"dependencies": {
|
||||
"discord.js": "^14.16.3",
|
||||
|
@ -20,13 +22,16 @@
|
|||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.2.0",
|
||||
"@eslint/js": "^9.17.0",
|
||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||
"@types/node": "^22.10.2",
|
||||
"@types/pg": "^8.11.10",
|
||||
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
||||
"@typescript-eslint/parser": "^8.18.1",
|
||||
"drizzle-kit": "^0.30.1",
|
||||
"eslint": "^9.17.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"globals": "^15.14.0",
|
||||
"prettier": "3.4.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^5.7.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue