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

Lint subspecs #202

Closed
wants to merge 3 commits into from
Closed

Lint subspecs #202

wants to merge 3 commits into from

Conversation

joshkalpin
Copy link
Member

Currently subspecs are not being linter for their "root" attributes. This includes name, and possibly other attributes. Since the linter will only lint attributes present in a spec anyway, it will not try to lint properties that don't exist.

This change makes it so all subspecs are linted for all specs. Additionally, the root spec name is moved into a separate function to ensure it is not called unnecessarily.

This change is based off of the changes by @segiddins and is in a separate commit to give credit.

Closes #178 and #177

segiddins and others added 3 commits November 28, 2014 15:58
Currently subspecs are not being linter for their "root" attributes.
This includes name, and possibly other attributes. Since the linter will
only lint attributes present in a spec anyway, it will not try to lint
properties that don't exist.

This change makes it so all subspecs are linted for all specs.
Additionally, the root spec name is moved into a separate function to
ensure it is not called unecessarily.

This change is based off of the changes by Samuel Giddins and is in a
separate commit to give credit
@segiddins
Copy link
Member

The issue with this is that there will be duplicate warnings/errors for root attributes, no?

@joshkalpin
Copy link
Member Author

@segiddins that is a good point. There is a little more thought to this then, but I feel like it's progress.

@segiddins segiddins closed this Dec 26, 2014
mrackwitz added a commit that referenced this pull request Apr 8, 2015
The spec is based off of the changes by @segiddins in #178 and @kaplin in #202. So this supersedes and closes #178, #202. This fixes #177.
mrackwitz added a commit that referenced this pull request Apr 8, 2015
The spec is based off of the changes by @segiddins in #178 and @kaplin in #202. So this supersedes and closes #178, #202. This fixes #177.
mrackwitz added a commit that referenced this pull request Apr 9, 2015
The spec is based off of the changes by @segiddins in #178 and @kaplin in #202. So this supersedes and closes #178, #202. This fixes #177.
mrackwitz added a commit that referenced this pull request Apr 12, 2015
The spec is based off of the changes by @segiddins in #178 and @kaplin in #202. So this supersedes and closes #178, #202. This fixes #177.
Ashton-W pushed a commit to Ashton-W/Core that referenced this pull request Nov 2, 2015
The spec is based off of the changes by @segiddins in CocoaPods#178 and @kaplin in CocoaPods#202. So this supersedes and closes CocoaPods#178, CocoaPods#202. This fixes CocoaPods#177.
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.

2 participants