Skip to content

Commit

Permalink
[tests] add swiftlint file for tests
Browse files Browse the repository at this point in the history
* We want to use force casts in testing
  • Loading branch information
nan-li committed Feb 14, 2024
1 parent d6102b4 commit 144dfd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iOS_SDK/OneSignalSDK/OneSignalCoreTests/.swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# in tests, we may want to force cast and throw any errors
disabled_rules:
- force_cast
3 changes: 3 additions & 0 deletions iOS_SDK/OneSignalSDK/OneSignalUserTests/.swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# in tests, we may want to force cast and throw any errors
disabled_rules:
- force_cast

0 comments on commit 144dfd7

Please sign in to comment.