[PM-40043] chore: Exclude .build and .claude folders from lint - #2860
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% 79.00% -2.25%
==========================================
Files 1027 1151 +124
Lines 66091 73568 +7477
==========================================
+ Hits 53699 58123 +4424
- Misses 12392 15445 +3053 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
❓ Should SwiftFormat get the same exclusions? |
… problems when working with multiple Worktrees.
🎟️ 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.