Skip to content
New issue

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

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

Already on GitHub? # to your account

Colon rule not triggered when badly formatted assignment operator is used in declaration statement #135

Closed
mgrebenets opened this issue Sep 23, 2015 · 2 comments

Comments

@mgrebenets
Copy link
Contributor

Colon rule is not triggered if assignment operator is used in declaration statement and that assignment operator is badly formatted, e.g. no spaces around =.

// This triggers colon rule
let x :Int = 0
let x2:Int = 0

// This does not trigger colon rule
let y :Int=0
let y2:Int=0
@tom-sparo
Copy link
Contributor

Are you sure?

screen shot 2015-10-17 at 10 45 40 am

mmorier added a commit to mmorier/SwiftLint that referenced this issue Nov 15, 2015
jpsim added a commit that referenced this issue Nov 15, 2015
@mmorier
Copy link
Contributor

mmorier commented Nov 15, 2015

Fixed in master. Reopen if you stil have the problem.

@mmorier mmorier closed this as completed Nov 15, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants