Skip to content

Commit 2fb5ad7

Browse files
authored
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.
1 parent 96df8ea commit 2fb5ad7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.git-blame-ignore-revs

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77

88
# chore: update prettier to 3.2.5 (#65092)
99
64b718c6618b6c419872abbf22163ae543ac259e
10+
11+
# Replace createNextDescribe with nextTestSetup
12+
c6320ed87ab41eee6f3ac54352ad02a239f329b2

.vscode/settings.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,9 @@
7777
"scheme": "file"
7878
}
7979
],
80-
"typescript.tsdk": "node_modules/typescript/lib"
80+
"typescript.tsdk": "node_modules/typescript/lib",
81+
"gitlens.advanced.blame.customArguments": [
82+
"--ignore-revs-file",
83+
"${workspaceRoot}/.git-blame-ignore-revs"
84+
]
8185
}

0 commit comments

Comments
 (0)