[PM-40043] chore: Exclude .build and .claude folders from lint#2860
[PM-40043] chore: Exclude .build and .claude folders from lint#2860fedemkr wants to merge 1 commit into
Conversation
…e problems compiling from the main repo when it has worktrees.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the single change to Code Review DetailsNo findings. The configuration change is correct and well-scoped. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2860 +/- ##
==========================================
- Coverage 81.25% 78.96% -2.29%
==========================================
Files 1027 1150 +123
Lines 66091 73386 +7295
==========================================
+ Hits 53699 57950 +4251
- Misses 12392 15436 +3044 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
❓ Should SwiftFormat get the same exclusions? |
🎟️ Tracking
PM-40043
📔 Objective
Exclude
.buildand.claudefolders from Swift lint as it can cause problems when working with worktrees inside the.claudefolder.Particularly, if one has a corktree in the
.claudefolder and wants to compile from the main repo (not the worktree) then Swift lint will try to make it pass inside the.claudefolder's worktree causing a lot of errors to appear. So in order for this not to happen we can just exclude such folders.