Skip to content

Commit

Permalink
chore: Ignore formatting-only commits in git blame
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-polk committed Dec 3, 2024
1 parent f5a1cd3 commit fdc257b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
3f6fbc5aaa6ee21915fbf878ca1fa3d714954538
90439d6e5d47ba42a4023d925b0463d50205984a
83bba1ff2ed203b7e2d7bf5ed64a17b1a95e8180
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"dev": "vite",
"build": "vite build",
"test": "vitest",
"prepare": "husky install",
"// blame.ignoreRevsFile - This allows blame to see through commits that are only there to format code.": " ",
"prepare": "husky install && git config blame.ignoreRevsFile .git-blame-ignore-revs",
"storybook": "storybook dev -p 6006",
"strings:download": "crowdin download --config src/l10n/crowdin.yml && yarn strings:compile",
"strings:upload": "crowdin upload --config src/l10n/crowdin.yml",
Expand Down

0 comments on commit fdc257b

Please sign in to comment.