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 LegacyConstantRule #344

Closed
wants to merge 9 commits into from
Closed

add LegacyConstantRule #344

wants to merge 9 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 12, 2016

Adds LegacyConstantRule from #319 (Add Rules to Support Ray Wenderlich's Swift Style Guide).

CGGeometry: Prefer struct-scope constants CGRect.infinite, CGRect.null,
etc. over global constants CGRectInfinite, CGRectNull, etc.

From #319

CGGeometry: Prefer struct-scope constants CGRect.infinite, CGRect.null,
etc. over global constants CGRectInfinite, CGRectNull, etc.
@@ -25,6 +25,10 @@
[Aaron McTavish](https://github.com/aamctustwo)
[#202](https://github.com/realm/SwiftLint/issues/202)

* Add LegacyConstantRule.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jpsim and others added 8 commits January 12, 2016 18:35
fix infinite regex search & 'where' false positive in ConditionalBindingCascadeRule
update SourceKitten to 0.7.4 and SwiftXPC to 1.1.1
From #319

CGGeometry: Prefer struct-scope constants CGRect.infinite, CGRect.null,
etc. over global constants CGRectInfinite, CGRectNull, etc.
@jpsim jpsim mentioned this pull request Jan 14, 2016
@jpsim
Copy link
Collaborator

jpsim commented Jan 14, 2016

Thanks for this @aamctustwo! Merging in #357.

@jpsim jpsim closed this Jan 14, 2016
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.

1 participant