[PR #154] [MERGED] feat: add proper linting #158

Closed
opened 2026-02-16 03:16:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/154
Author: @AstraBert
Created: 8/27/2025
Status: Merged
Merged: 8/28/2025
Merged by: @marcusschiesser

Base: mainHead: clelia/proper-linting


📝 Commits (7)

  • 4b63f32 wip: lint
  • e358844 feat: lint commands for all packages, lint in ci
  • 493ca99 Merge branch 'main' into clelia/proper-linting
  • 4577ecd feat: enhanced eslint config
  • 8f947af feat: adding no-unused-vars as check
  • f4d60a5 ci: adding lint-staged to lint action
  • 2923fec docs: add linting to contributions guide

📊 Changes

21 files changed (+853 additions, -57 deletions)

View changed files

📝 .github/workflows/test.yml (+2 -0)
📝 CONTRIBUTING.md (+14 -0)
eslint.config.mjs (+64 -0)
📝 package.json (+8 -0)
📝 packages/core/package.json (+3 -1)
📝 packages/core/src/core/context.ts (+1 -0)
📝 packages/core/src/core/event.ts (+0 -1)
📝 packages/core/src/core/stream.ts (+2 -2)
📝 packages/core/src/middleware/state.ts (+2 -1)
📝 packages/core/src/middleware/trace-events.ts (+2 -1)
📝 packages/core/src/middleware/validation.ts (+2 -1)
📝 packages/core/src/stream/filter.ts (+0 -1)
📝 packages/core/tests/core/context-api.spec.ts (+1 -0)
📝 packages/core/tests/core/run-helpers.spec.ts (+5 -2)
📝 packages/core/tests/core/stream.spec.ts (+0 -1)
📝 packages/core/tests/middleware/full-workflow.spec.ts (+2 -1)
📝 packages/core/tests/middleware/state-with-snapshot.spec.ts (+1 -5)
📝 packages/core/tests/middleware/with-trace-events.spec.ts (+2 -7)
📝 packages/core/tests/middleware/with-validation.spec.ts (+1 -1)
📝 pnpm-lock.yaml (+735 -32)

...and 1 more files

📄 Description

Adding proper linting using ESlint + Turbo

pnpm run lint

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-ts/pull/154 **Author:** [@AstraBert](https://github.com/AstraBert) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/28/2025 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `clelia/proper-linting` --- ### 📝 Commits (7) - [`4b63f32`](https://github.com/run-llama/workflows-ts/commit/4b63f326a23fec4dfd1a430e15aca0f901519d28) wip: lint - [`e358844`](https://github.com/run-llama/workflows-ts/commit/e358844a689d4d3d7da7b0404a9b5f7a3395c722) feat: lint commands for all packages, lint in ci - [`493ca99`](https://github.com/run-llama/workflows-ts/commit/493ca998b3cfd37fe08cd83bd2109721bd550181) Merge branch 'main' into clelia/proper-linting - [`4577ecd`](https://github.com/run-llama/workflows-ts/commit/4577ecd926a3318e197f533bffc888348f54a866) feat: enhanced eslint config - [`8f947af`](https://github.com/run-llama/workflows-ts/commit/8f947af1b66d071326bb78c462ab6201d1ecdb7e) feat: adding no-unused-vars as check - [`f4d60a5`](https://github.com/run-llama/workflows-ts/commit/f4d60a50fabc6c41c1d3fc3704dba7dab2ff3847) ci: adding lint-staged to lint action - [`2923fec`](https://github.com/run-llama/workflows-ts/commit/2923fecfd6f71288d8efa991b26655608e22bb4f) docs: add linting to contributions guide ### 📊 Changes **21 files changed** (+853 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+2 -0) 📝 `CONTRIBUTING.md` (+14 -0) ➕ `eslint.config.mjs` (+64 -0) 📝 `package.json` (+8 -0) 📝 `packages/core/package.json` (+3 -1) 📝 `packages/core/src/core/context.ts` (+1 -0) 📝 `packages/core/src/core/event.ts` (+0 -1) 📝 `packages/core/src/core/stream.ts` (+2 -2) 📝 `packages/core/src/middleware/state.ts` (+2 -1) 📝 `packages/core/src/middleware/trace-events.ts` (+2 -1) 📝 `packages/core/src/middleware/validation.ts` (+2 -1) 📝 `packages/core/src/stream/filter.ts` (+0 -1) 📝 `packages/core/tests/core/context-api.spec.ts` (+1 -0) 📝 `packages/core/tests/core/run-helpers.spec.ts` (+5 -2) 📝 `packages/core/tests/core/stream.spec.ts` (+0 -1) 📝 `packages/core/tests/middleware/full-workflow.spec.ts` (+2 -1) 📝 `packages/core/tests/middleware/state-with-snapshot.spec.ts` (+1 -5) 📝 `packages/core/tests/middleware/with-trace-events.spec.ts` (+2 -7) 📝 `packages/core/tests/middleware/with-validation.spec.ts` (+1 -1) 📝 `pnpm-lock.yaml` (+735 -32) _...and 1 more files_ </details> ### 📄 Description Adding proper linting using ESlint + Turbo ```bash pnpm run lint ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:16:20 -05:00
yindo closed this issue 2026-02-16 03:16:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-ts#158