Repository navigation
chore(app): add lint, typecheck and prettier checks to CI - #40
Merged
Merged
Conversation
Andreas7274
approved these changes
Nov 25, 2026
Andreas7274
left a comment
Collaborator
There was a problem hiding this comment.
wichtige Änderung und alles sauber, damit kann nun auch mobile gechecked werden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Right now CI only checks the backend. Mobile code can reach
mainwithunused variables, type errors or inconsistent formatting, and the reviewer
has to catch this by hand. Automatic checks give every PR the same quick
feedback, so reviews can focus on the logic.
What
New
mobilejob in CI, with three checks:npm run lint(ESLint): finds suspicious code, such as unused variablesor wrong React hook usage.
npm run typecheck(TypeScript): finds type errors, such as a link to ascreen that does not exist.
npm run format:check(Prettier): checks that all files follow the samecode style.
Also:
typecheckscript tomobile/package.json.mobile/.expo/folder (it is already in.gitignore). The committedrouter.d.tswas outdated and madetscfail in CI.
How to test
Open the Actions tab of this PR: both
backendandmobilejobs shouldbe green. Locally:
cd mobile && npm ci && npm run lint && npm run typecheck && npm run format:check.Closes #37