Skip to content

Commit

Permalink
ci: ModalState should be private
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Jan 9, 2025
1 parent c8b380f commit 8572d7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ custom_rules:
- ".*\\.swift"
regex: "@StateObject\\s+var"
message: "StateObject should be private"
private_modal_state:
included:
- ".*\\.swift"
regex: "@ModalState\\s+var"
message: "ModalState should be private"
private_environment:
included:
- ".*\\.swift"
Expand Down

0 comments on commit 8572d7f

Please sign in to comment.