Add eslint as linter and add linter workflow
Some checks failed
CI / CI (push) Successful in 16s
Lint Codebase / eslint (push) Failing after 12s

This commit is contained in:
SileNce5k 2024-11-05 05:26:48 +01:00
parent 85821f5fa3
commit 7bdc33b321
Signed by: SileNce
GPG key ID: B0A142BB4291B204
5 changed files with 835 additions and 5 deletions

View file

@ -11,7 +11,8 @@
"sqlite3": "^5.1.6"
},
"scripts": {
"test": "jest"
"test": "jest",
"lint": "npx eslint ."
},
"repository": {
"type": "git",
@ -20,7 +21,10 @@
"author": "SileNce5k",
"license": "UNLICENSE",
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/jest": "^29.5.14",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"jest": "^29.7.0"
}
}