Add lint script to backend

This commit is contained in:
arttu
2024-05-15 15:11:59 +03:00
parent 2a6fe58188
commit 54619a08a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"dev": "npx tsx watch --clear-screen=false src/index.ts",
"build": "tsc",
"start": "node build/index.js",
"lint": ""
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
"author": "",
"license": "ISC",
+1 -1
View File
@@ -7,7 +7,7 @@
"start": "docker compose -f docker-compose.yml up",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "docker compose -f docker-compose.dev.yml up"
},
},
"author": "",
"license": "ISC",
"dependencies": {