ci: add eslint

This commit is contained in:
2026-07-13 10:38:23 +05:00
parent 72f272246f
commit 06e059367e
5 changed files with 1698 additions and 6 deletions
+11 -3
View File
@@ -91,18 +91,26 @@
"build": "vite build",
"watch": "vite build --watch",
"vscode:prepublish": "npm run build",
"lint": "npm run lint:app && npm run lint:test",
"lint:app": "tsc --noEmit -p tsconfig.app.json",
"lint:test": "tsc --noEmit -p tsconfig.test.json",
"lint": "eslint .",
"check": "npm run check:app && npm run check:test",
"check:app": "tsc --noEmit -p tsconfig.app.json",
"check:test": "tsc --noEmit -p tsconfig.test.json",
"format": "prettier --write .",
"test": "vitest",
"test:run": "vitest run"
},
"devDependencies": {
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.39.0",
"@types/node": "^22.0.0",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.96.0",
"@vitest/eslint-plugin": "^1.5.0",
"eslint": "^9.39.0",
"eslint-config-prettier": "^10.1.0",
"globals": "^16.4.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.46.0",
"vite": "^8.1.4",
"vitest": "^4.1.10"
},