Merge pull request #5668 from continuedev/nate/ci-lint

chore: 🚨 fix lint errors in gui and introduce gui lint in CI
This commit is contained in:
Nate Sesti
2025-05-14 14:33:52 -07:00
committed by GitHub
3 changed files with 5 additions and 3 deletions

View File

@@ -235,10 +235,11 @@ jobs:
cd packages/config-yaml
npm run build
- name: Type check
- name: Type check and lint
run: |
cd gui
npx tsc --noEmit
npm run lint
binary-checks:
needs: [install-root, install-core, install-config-yaml]

View File

@@ -3,7 +3,7 @@
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "eslint-plugin-react"],
"parserOptions": {
"project": "gui/tsconfig.json"
"project": ["tsconfig.json", "tsconfig.node.json"]
},
"extends": [
// "eslint:recommended",

View File

@@ -12,7 +12,8 @@
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest"
"test:watch": "vitest",
"lint": "eslint --ext ts"
},
"dependencies": {
"@continuedev/config-yaml": "file:../packages/config-yaml",