-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Configure SwiftLint via a YAML file #99
Conversation
@keith I assume this would be useful for you, I'd love if you could share your thoughts on the implementation. |
|
||
public init?(yaml: String) { | ||
guard let yamlConfig = Yaml.load(yaml).value else { | ||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this print some error about an invalid config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see this error below
Awesome! This looks great! 👍 |
Configure SwiftLint via a YAML file
Fixes #1 and #3.