Skip to content

Commit 910d001

Browse files
konardclaude
andcommitted
feat(ci): add GitHub Actions workflow for eslint-effect-ts-check
- Add lint-effect job to check.yml workflow for Effect-TS compliance checks - Add lint:effect script to root and app package.json - Use eslint.effect-ts-check.config.mjs for strict functional programming rules INVARIANT: ∀ commit ∈ Commits: passes(lint_effect, commit) → Effect_TS_compliant(commit) COMPLEXITY: O(n) where n = number of source files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 168c559 commit 910d001

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,13 @@ jobs:
6161
- name: Install global linter dependencies
6262
run: npm install -g typescript @biomejs/biome
6363
- run: pnpm test
64+
65+
lint-effect:
66+
name: Lint Effect-TS
67+
runs-on: ubuntu-latest
68+
timeout-minutes: 10
69+
steps:
70+
- uses: actions/checkout@v4
71+
- name: Install dependencies
72+
uses: ./.github/actions/setup
73+
- run: pnpm lint:effect

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dev": "pnpm --filter @effect-template/app dev",
1717
"lint": "pnpm --filter @effect-template/app lint",
1818
"lint:tests": "pnpm --filter @effect-template/app lint:tests",
19+
"lint:effect": "pnpm --filter @effect-template/app lint:effect",
1920
"test": "pnpm --filter @effect-template/app test",
2021
"typecheck": "pnpm --filter @effect-template/app typecheck",
2122
"start": "pnpm --filter @effect-template/app start"

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dev": "vite build --watch --ssr src/app/main.ts",
1212
"lint": "npx @ton-ai-core/vibecode-linter src/",
1313
"lint:tests": "npx @ton-ai-core/vibecode-linter tests/",
14+
"lint:effect": "npx eslint --config eslint.effect-ts-check.config.mjs .",
1415
"check": "pnpm run typecheck",
1516
"prestart": "pnpm run build",
1617
"start": "node dist/main.js",

0 commit comments

Comments
 (0)