Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some proposed allowable exceptions to SwiftLint rules #328

Open
jrturton opened this issue Oct 3, 2020 · 0 comments
Open

Some proposed allowable exceptions to SwiftLint rules #328

jrturton opened this issue Oct 3, 2020 · 0 comments

Comments

@jrturton
Copy link

jrturton commented Oct 3, 2020

Code generated by Xcode should be treated like open source files, and have a disable-all added at the top. I'm thinking particularly of core data property generated files, which are never touched by the user.

Code in unit tests should be allowed to use IUOs, since test code is dealing with known state and defensive coding would often add too much noise and detract from the meaning of the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant