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

Rules ignored when combining several disable comments, or several rules in one comment #976

Closed
fabb opened this issue Dec 13, 2016 · 0 comments
Labels
bug Unexpected and reproducible misbehavior.

Comments

@fabb
Copy link
Contributor

fabb commented Dec 13, 2016

These two examples do not work correctly, either the first or the second rule is ignored:

    // swiftlint:disable function_body_length line_length
    func someLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongMethod() {
        // long body, too long for function_body_length
}
    // swiftlint:disable:next function_body_length
    // swiftlint:disable:next line_length
    func someLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongMethod() {
        // long body, too long for function_body_length
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

2 participants