Skip to content

Name the fallback reason for Git hook and commit tooling #338

Done

Description

@adityankale190895

These configure what runs on git commit or git push, not in CI:

  • lefthook.yml, .lefthook.yml and files under .husky/
  • .lintstagedrc, .lintstagedrc.json and lint-staged.config.js
  • .commitlintrc, .commitlintrc.json and commitlint.config.js

A change to one of them runs the full suite. The .js ones report Code that no file imports changed, and the others report Unknown changed file: ….

This issue only names the reason. Whether these files should select no tests at all is a separate decision. Leave the plan FULL.

Done when:

  • All of them report Tool configuration changed: Git hook settings.
  • There's a test case for lefthook.yml, .husky/pre-commit, .lintstagedrc and commitlint.config.js.
  • The docs row lists them.

New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.

Activity

  1. added
    enhancement
    good first issue
    on Nov 23, 2026
  2. adityankale190895 commented on Dec 3, 2026

    @adityankale190895
    MemberAuthor

    I’m working on this: I’ll add the Git-hook fallback reason, regression coverage, and docs, then open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions