Skip to content

Comments

Unify cloud and mobile linter configs, add dependency check script on install#1987

Open
fossephate wants to merge 2 commits intodevfrom
lint-testing
Open

Unify cloud and mobile linter configs, add dependency check script on install#1987
fossephate wants to merge 2 commits intodevfrom
lint-testing

Conversation

@fossephate
Copy link
Contributor

No description provided.

@fossephate fossephate requested a review from a team as a code owner January 30, 2026 21:49
@github-actions
Copy link

github-actions bot commented Jan 30, 2026

📋 PR Review Helper

📱 Mobile App Build

Ready to test! (commit 487086f)

📥 Download APK

🕶️ ASG Client Build

Waiting for build...


🔀 Test Locally

gh pr checkout 1987

@fossephate fossephate requested a review from isaiahb January 30, 2026 21:49
@aisraelov
Copy link
Member

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 487086f66d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +5 to +7
const nvmDir = process.env.NVM_DIR || `${process.env.HOME}/.nvm`
if (!fs.existsSync(`${nvmDir}/nvm.sh`)) {
console.warn("⚠️ nvm not found...")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Import fs before use in check-deps

The new check-deps.mjs references fs.existsSync(...) but never imports fs, so running bun run postinstall (which now calls checkDeps()) will throw a ReferenceError: fs is not defined and abort the install flow. This breaks dependency setup for anyone running the mobile postinstall script.

Useful? React with 👍 / 👎.

[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

npx lint-staged
npx lint-staged --no-stash

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep nvm sourcing for pre-commit hook

Removing the nvm init means npx lint-staged will fail on machines where Node is only available via nvm (common per repo guidance). In that environment, the hook can no longer find npx, so commits are blocked unless users manually export PATH or install a system Node.

Useful? React with 👍 / 👎.

@isaiahb isaiahb self-assigned this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants