fix: make linting required for CI (#27091)

* fix: make linting required for CI

- Remove continue-on-error from lint workflow so CI fails on lint errors
- Fix 2 lint errors: avoid importing from @trpc/server in lib package
- Add trpcErrorUtils.ts to handle TRPC errors without circular dependencies
- Update lint-staged to show warnings but not block commits

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>

* fix: add message field validation to isTRPCErrorLike type guard

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-01-21 15:01:37 -03:00
1 parent f17933bc43
commit ddcac4b3b1
5 files changed
+64 -16

No files matched your search

-1
View File
@@ -16,4 +16,3 @@ jobs:
- uses: ./.github/actions/yarn-install
- name: Run Lint
run: yarn lint
continue-on-error: true