From 2fb5ad797fad3db6c4fdd84aacae25f9e2d449fa Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 14 May 2024 14:18:10 -0700 Subject: [PATCH] chore: add git blame ignore-revs support to gitlens for vscode configuration (#65762) To help improve the developer experience for framework authors, this enables the git blame ignore option to ignore some code changes that were added to the project .git-blame-ignore-revs file. --- .git-blame-ignore-revs | 3 +++ .vscode/settings.json | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 2e9f99ee1e..7999e1d4cd 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -7,3 +7,6 @@ # chore: update prettier to 3.2.5 (#65092) 64b718c6618b6c419872abbf22163ae543ac259e + +# Replace createNextDescribe with nextTestSetup +c6320ed87ab41eee6f3ac54352ad02a239f329b2 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index c0d580944b..1b5c4c8a59 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -77,5 +77,9 @@ "scheme": "file" } ], - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "gitlens.advanced.blame.customArguments": [ + "--ignore-revs-file", + "${workspaceRoot}/.git-blame-ignore-revs" + ] }