diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17f2d03..4f15e29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,24 @@ jobs: - name: Run typecheck run: npm run typecheck + eslint: + name: ESLint + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Run ESLint + run: npm run lint + build: name: Build runs-on: ubuntu-latest diff --git a/.husky/pre-commit b/.husky/pre-commit index ca01d65..4515843 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ npm run lint:md +npx lint-staged \ No newline at end of file diff --git a/app/app.vue b/app/app.vue index 9ce8d9e..75983ac 100644 --- a/app/app.vue +++ b/app/app.vue @@ -155,13 +155,25 @@ onMounted(() => {
An AI agent is the primary app author.
++ An AI agent is the primary app author. +
{
:source-code="readFile(getApp(win.appId)?.entry || '') || ''"
@ask-fix="askFix"
/>
- {{ win.title }}
+
+ {{ win.title }}
+