Skip to content

Commit

Permalink
Add custom_rules of SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsnodnb committed Jan 31, 2024
1 parent 9608daa commit 0f68c4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,15 @@ line_length: 130

disabled_rules:
- nesting

custom_rules:
deprecated_composable_architecture_view_store:
included:
- ".*\\.swift"
name: Deprecated ViewStore
regex: "((With)?ViewStore(Of)?)"
capture_group: 0
match_kinds:
- identifier
message: "ViewStore is deprecated. Please use `WithPerceptionTracking`."
severity: warning

0 comments on commit 0f68c4a

Please sign in to comment.