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

File header rule #844

Closed
marcelofabri opened this issue Oct 15, 2016 · 2 comments
Closed

File header rule #844

marcelofabri opened this issue Oct 15, 2016 · 2 comments

Comments

@marcelofabri
Copy link
Collaborator

We could have an opt-in rule that warned when the file have the default comment header included in Xcode template. For example:

//
//  LegacyConstructorRule.swift
//  SwiftLint
//
//  Created by Marcelo Fabri on 29/11/15.
//  Copyright © 2015 Realm. All rights reserved.
//

This wouldn't be enabled for SwiftLint 😅

@keith
Copy link
Collaborator

keith commented Oct 15, 2016

I think I have a closed PR for this somewhere from before opt in rules were supported. Otherwise we have it on our fork. I'd be happy to submit it again.

@marcelofabri
Copy link
Collaborator Author

Hah, just found it: #126

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