diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 80466d4..32dbd9b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -61,3 +61,13 @@ jobs: - name: Install global linter dependencies run: npm install -g typescript @biomejs/biome - run: pnpm test + + lint-effect: + name: Lint Effect-TS + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + uses: ./.github/actions/setup + - run: pnpm lint:effect diff --git a/package.json b/package.json index f57cddd..40cbe15 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "dev": "pnpm --filter @effect-template/app dev", "lint": "pnpm --filter @effect-template/app lint", "lint:tests": "pnpm --filter @effect-template/app lint:tests", + "lint:effect": "pnpm --filter @effect-template/app lint:effect", "test": "pnpm --filter @effect-template/app test", "typecheck": "pnpm --filter @effect-template/app typecheck", "start": "pnpm --filter @effect-template/app start" diff --git a/packages/app/package.json b/packages/app/package.json index 431e4f3..c6984f0 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -11,6 +11,7 @@ "dev": "vite build --watch --ssr src/app/main.ts", "lint": "npx @ton-ai-core/vibecode-linter src/", "lint:tests": "npx @ton-ai-core/vibecode-linter tests/", + "lint:effect": "npx eslint --config eslint.effect-ts-check.config.mjs .", "check": "pnpm run typecheck", "prestart": "pnpm run build", "start": "node dist/main.js",