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

let_var_whitespace should not trigger for @objc #1770

Closed
fcy opened this issue Aug 11, 2017 · 1 comment
Closed

let_var_whitespace should not trigger for @objc #1770

fcy opened this issue Aug 11, 2017 · 1 comment
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@fcy
Copy link

fcy commented Aug 11, 2017

I like the new let_var_whitespace rule but I think it shouldn't trigger for @objc because it applies to that member. E.g. the following snippet triggers a violation:

    @objc(status)
    var statusObjc: String {
//...

What do you think?

@Uncommon
Copy link
Contributor

Yeah, that should be easy to fix. I got it to handle a couple of other @ keywords but didn't think of @objc.

@marcelofabri marcelofabri added the enhancement Ideas for improvements of existing features and rules. label Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules.
Projects
None yet
Development

No branches or pull requests

3 participants