sentry-cocoa
sentry-cocoa copied to clipboard
Linter for not using ObjC new
Description
According to this blog post, https://blog.cristik.com/2018/02/objective-c-new-is-dangerous-and-old-avoid-it-at-all-costs/ and this https://github.com/getsentry/sentry-cocoa/pull/1969#discussion_r957770700 using [new] is dangerous and should be avoided.
We should use a linter or another check to avoid using it in our code.