Skip to content

chore: no qlty pre commit - #40

Merged
jamesbhobbs merged 1 commit into
mainfrom
noqltypc
Oct 10, 2025
Merged

jamesbhobbs merged 1 commit into
mainfrom
noqltypc

Conversation

@jamesbhobbs

@jamesbhobbs jamesbhobbs commented Oct 10, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Streamlined the pre-commit workflow by running only linting tasks during commits, removing the extra quality check step. This reduces friction for contributors and speeds up commit operations while maintaining code style enforcement. There are no changes to application behavior or user-facing features. Builds and releases remain unaffected. No action required by users.

@codecov

codecov Bot commented Oct 10, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.59%. Comparing base (84b968e) to head (181e569).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   93.59%   93.59%           
=======================================
  Files          19       19           
  Lines         593      593           
  Branches      120      179   +59     
=======================================
  Hits          555      555           
  Misses         38       38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai

coderabbitai Bot commented Oct 10, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The pre-commit hook in .husky/pre-commit was modified to remove the qlty check step. Previously, the command executed was: pnpm exec lint-staged && qlty check. It now runs only: pnpm exec lint-staged. No other files or configurations were changed.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    actor Dev as Developer
    participant Git as Git
    participant Husky as Husky pre-commit
    participant Lint as lint-staged
    participant Qlty as qlty check

    Dev->>Git: git commit
    Git->>Husky: Trigger pre-commit hook
    Note over Husky: Old flow (before changes)
    Husky->>Lint: Run staged linters
    Lint-->>Husky: Exit status
    alt Success
        Husky->>Qlty: Run qlty check
        Qlty-->>Husky: Exit status
        Husky-->>Git: Allow/Block commit
    else Failure
        Husky-->>Git: Block commit
    end
Loading
sequenceDiagram
    autonumber
    actor Dev as Developer
    participant Git as Git
    participant Husky as Husky pre-commit
    participant Lint as lint-staged

    Dev->>Git: git commit
    Git->>Husky: Trigger pre-commit hook
    rect rgba(200,235,255,0.3)
    note over Husky,Lint: New flow (after changes)
    Husky->>Lint: Run staged linters
    Lint-->>Husky: Exit status
    Husky-->>Git: Allow/Block commit
    end
    note over Husky: qlty check step removed
Loading

Possibly related PRs

  • chore: qlty setup #5: Also modifies .husky/pre-commit regarding adding/ensuring qlty check, directly related to the removed step here.

Suggested reviewers

  • saltenasl
  • andyjakubowski
  • Artmann

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title concisely refers to the removal of the qlty check from the pre-commit hook, which matches the main change.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 84b968e and 181e569.

📒 Files selected for processing (1)
  • .husky/pre-commit (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: jamesbhobbs
PR: deepnote/deepnote#1
File: .husky/post-checkout:1-1
Timestamp: 2025-09-30T13:34:45.847Z
Learning: In the deepnote/deepnote repository, the .husky/post-checkout hook should remain minimal (just `pnpm install`) without explicit flags like `--frozen-lockfile` or guards. Explicit flags should only be used where needed, such as in CI workflows.
📚 Learning: 2025-09-03T13:01:49.096Z
Learnt from: CR
PR: deepnote/vscode-extension#0
File: .github/instructions/typescript.instructions.md:0-0
Timestamp: 2025-09-03T13:01:49.096Z
Learning: Use `npm run lint` to check for linter issues

Applied to files:

  • .husky/pre-commit
📚 Learning: 2025-09-03T12:53:28.421Z
Learnt from: CR
PR: deepnote/vscode-extension#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-09-03T12:53:28.421Z
Learning: Run linting with `npm run lint` to check for linter issues

Applied to files:

  • .husky/pre-commit
📚 Learning: 2025-08-18T23:41:22.727Z
Learnt from: CR
PR: deepnote/deepnote#0
File: CONVENTIONS.md:0-0
Timestamp: 2025-08-18T23:41:22.727Z
Learning: Use provided build/lint/test commands (pnpm build, lint, typecheck, test) and Nx invocations

Applied to files:

  • .husky/pre-commit
🔇 Additional comments (1)
.husky/pre-commit (1)

1-1: Approve removal of qlty from pre-commit. qlty is installed and run in the CI workflow (.github/workflows/ci.yml), so checks remain in place.


Comment @coderabbitai help to get the list of available commands and usage tips.

@jamesbhobbs
jamesbhobbs enabled auto-merge (squash) October 10, 2025 13:40
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.

2 participants