File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 1+ # ========== CANONICAL (auto-synced, do not edit) ==========
2+ # Source: swift-institute
3+ # Sync: Scripts/sync-gitignore.sh or manual
4+
15* ~
6+ .DS_Store
27
38Package.resolved
49DerivedData /
@@ -12,6 +17,16 @@ Thumbs.db
1217! /.swift-format
1318! /.swiftformat
1419! /.swiftlint.yml
20+ ! /.swiftlint /
21+
22+ # Top-level entries (opt-in only)
23+ # First ignore all, then whitelist specific folders and files
24+ /*
25+ ! /Sources /
26+ ! /Tests /
27+ ! /.github /
28+ ! /Package.swift
29+ ! /LICENSE.md
1530
1631# Documentation (opt-in for whitelisted .md files and .docc catalogs only)
1732# Blocks all .md files by default to prevent AI-generated content from being committed
@@ -24,7 +39,16 @@ Thumbs.db
2439! SECURITY.md
2540! ** /* .docc /** /* .md
2641
42+ * .pdf
43+
44+ # SwiftLint
45+ ** /.swiftlint /RemoteConfigCache
2746
28- # SwiftLint Remote Config Cache
29- .swiftlint /RemoteConfigCache
47+ # Swift Package Manager
3048.build /
49+ .swiftpm /
50+
51+ # ========== END CANONICAL ==========
52+
53+ # ========== LOCAL OVERRIDES ==========
54+ # Package-specific rules below (preserved during sync)
You can’t perform that action at this time.
0 commit comments