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

Add opt-in force unwrapping rule #421

Merged
merged 6 commits into from
Jan 26, 2016
Merged

Add opt-in force unwrapping rule #421

merged 6 commits into from
Jan 26, 2016

Conversation

jpsim
Copy link
Collaborator

@jpsim jpsim commented Jan 26, 2016

Continued from #374 /cc @scottrhoyt @norio-nomura @Argent

@jpsim
Copy link
Collaborator Author

jpsim commented Jan 26, 2016

I think this would only really make sense in certain parts of a project, if ever, which is why it's an opt-in rule.

@jpsim
Copy link
Collaborator Author

jpsim commented Jan 26, 2016

This is an opt-in rule, and probably fine as-is. There's just the one false positive in the SwiftLint codebase mentioned in #374 (comment).

jpsim added a commit that referenced this pull request Jan 26, 2016
@jpsim jpsim merged commit 7559cc6 into master Jan 26, 2016
@jpsim jpsim deleted the rule/force-unwrapping branch January 26, 2016 19:23
@jpsim jpsim mentioned this pull request Jan 26, 2016
@norio-nomura
Copy link
Collaborator

👍

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

Successfully merging this pull request may close these issues.

3 participants