Skip to content

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Dec 27, 2025

Prerequisites checklist

What is the purpose of this pull request?

This PR was motivated by eslint/tsc-meetings#651.

In this PR, I've added .git-blame-ignore-revs.

Adding a .git-blame-ignore-revs file prevents the squash-merged Prettier commit from appearing in GitHub's blame view.

There were some formatting-only commits in the markdown repository due to newly introduced or released Prettier versions; adding this file would help prevent noisy entries in git blame views in the future.

I followed the same format used in the eslint repository: https://github.com/eslint/eslint/blob/main/.git-blame-ignore-revs

What changes did you make? (Give an overview)

In this PR, I've added .git-blame-ignore-revs.

Related Issues

Ref: eslint/tsc-meetings#651

Is there anything you'd like reviewers to focus on?

N/A

@eslintbot eslintbot added this to Triage Dec 27, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Dec 27, 2025
@lumirlumir lumirlumir marked this pull request as ready for review December 27, 2025 14:44
Copilot AI review requested due to automatic review settings December 27, 2025 14:44
@lumirlumir lumirlumir requested a review from a team December 27, 2025 14:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a .git-blame-ignore-revs file to exclude formatting-only commits from GitHub's blame view, following the same approach used in the main eslint repository. The file references formatting commits from PR #270 (Prettier enablement) and PR #591 (Prettier update).

Key changes:

  • Added .git-blame-ignore-revs file with two formatting-related commit hashes to be ignored in git blame views

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@nzakas nzakas merged commit fc69666 into main Dec 29, 2025
32 checks passed
@nzakas nzakas deleted the chore/add-git-blame-ignore-revs branch December 29, 2025 22:28
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants