Added linter.

This commit is contained in:
2023-09-29 16:17:21 -04:00
parent 8a805b96a6
commit 58e8c04027
5 changed files with 2681 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"description": "A financial tracking web app that allows users to track their investments across multiple exchanges.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "eslint . --fix"
},
"author": "",
"license": "GPL-3.0-or-later",
@ -14,6 +14,9 @@
"devDependencies": {
"@tsconfig/node-lts": "^18.12.5",
"@types/node": "^20.7.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint": "^8.50.0",
"typescript": "^5.2.2"
}
}