diff options
author | Ven <vendicated@riseup.net> | 2022-10-06 00:42:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 00:42:58 +0200 |
commit | 74c3930e0a5ed264f330bc32c27116ead1063c5d (patch) | |
tree | a29ba43787c8cf8bbee648b5b478a8152086f965 /package.json | |
parent | e563521416052808bcec57057b921f0c0b6ca594 (diff) | |
download | Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2 Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip |
add eslint config (#53)
* eslint
* workflow
* lint main
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package.json b/package.json index 320b0c2..aaaac8a 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,11 @@ "@types/node": "^18.7.13", "@types/react": "^18.0.17", "@types/yazl": "^2.4.2", + "@typescript-eslint/parser": "^5.39.0", "electron": "^20.1.0", "esbuild": "^0.15.5", + "eslint": "^8.24.0", + "typescript": "^4.8.4", "yazl": "^2.5.1" }, "dependencies": { @@ -17,6 +20,8 @@ "build": "node build.mjs", "watch": "node build.mjs --watch", "inject": "node scripts/patcher/install.js", - "uninject": "node scripts/patcher/uninstall.js" + "uninject": "node scripts/patcher/uninstall.js", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx", + "lint:fix": "pnpm lint --fix" } } |