Elffuss BraidHub

kikocis/continue public

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

chore: :rotating_light: fix lint errors in gui and introduce gui lint in CI
Changesetaf8dfc66e16a31a5a878607b9aec34b95e9cde6eee03653d27c67b9ff6956fd1
AuthorNate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-05-14 14:33 -07:00
CommitterGitHub <noreply@github.com> · 2025-05-14 14:33 -07:00
Parents86bb70a9ac15, e68952a9cc88

Browse the files at this changeset

3 files changed

modified .github/workflows/pr_checks.yaml +2 −1
@@ -235,10 +235,11 @@
235235 cd packages/config-yaml
236236 npm run build
237237
238- - name: Type check
238+ - name: Type check and lint
239239 run: |
240240 cd gui
241241 npx tsc --noEmit
242+ npm run lint
242243
243244 binary-checks:
244245 needs: [install-root, install-core, install-config-yaml]
modified gui/.eslintrc.json +1 −1
@@ -3,7 +3,7 @@
33 "parser": "@typescript-eslint/parser",
44 "plugins": ["@typescript-eslint", "eslint-plugin-react"],
55 "parserOptions": {
6- "project": "gui/tsconfig.json"
6+ "project": ["tsconfig.json", "tsconfig.node.json"]
77 },
88 "extends": [
99 // "eslint:recommended",
modified gui/package.json +2 −1
@@ -12,7 +12,8 @@
1212 "test": "vitest run",
1313 "test:coverage": "vitest run --coverage",
1414 "test:ui": "vitest --ui",
15- "test:watch": "vitest"
15+ "test:watch": "vitest",
16+ "lint": "eslint --ext ts"
1617 },
1718 "dependencies": {
1819 "@continuedev/config-yaml": "file:../packages/config-yaml",