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 rule for empty lines after certain @ keywords #10

Open
grantjbutler opened this issue Dec 8, 2014 · 0 comments
Open

Add rule for empty lines after certain @ keywords #10

grantjbutler opened this issue Dec 8, 2014 · 0 comments

Comments

@grantjbutler
Copy link

Add rules to ensure there are empty lines after @interface, @implementation, and @protocol lines, and an empty line before an @end line.

For example, it transforms this:

@interface MyObject
@property (nonatomic) NSObject *aThing;
@property (nonatomic) NSObject *anotherThing;
@end

into this:

@interface MyObject

@property (nonatomic) NSObject *aThing;
@property (nonatomic) NSObject *anotherThing;

@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants