{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/518","repository_url":"https://api.github.com/repos/realm/SwiftLint","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/518/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/518/events","html_url":"https://github.com/realm/SwiftLint/issues/518","id":132331923,"number":518,"title":"Consider adding a swiftlint init?","user":{"login":"scottrhoyt","id":4259250,"avatar_url":"https://avatars.githubusercontent.com/u/4259250?v=3","gravatar_id":"","url":"https://api.github.com/users/scottrhoyt","html_url":"https://github.com/scottrhoyt","followers_url":"https://api.github.com/users/scottrhoyt/followers","following_url":"https://api.github.com/users/scottrhoyt/following{/other_user}","gists_url":"https://api.github.com/users/scottrhoyt/gists{/gist_id}","starred_url":"https://api.github.com/users/scottrhoyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottrhoyt/subscriptions","organizations_url":"https://api.github.com/users/scottrhoyt/orgs","repos_url":"https://api.github.com/users/scottrhoyt/repos","events_url":"https://api.github.com/users/scottrhoyt/events{/privacy}","received_events_url":"https://api.github.com/users/scottrhoyt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/SwiftLint/labels/discussion","name":"discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-09T04:59:40Z","updated_at":"2016-02-12T21:18:10Z","closed_at":null,"body":"Inspired by #517, maybe we should have a `swiftlint init` that creates a mostly empty, but commented, `.swiftlint.yml` file in the current directory a la `pod init`, `fastlane init`, `travis init`, etc?\r\n\r\nIn the future, such a command could even be used to fetch a specific config from a repo, like an `Examples` repo or an internal organization repo. Just a thought."},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/183490987","html_url":"https://github.com/realm/SwiftLint/issues/518#issuecomment-183490987","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/518","id":183490987,"user":{"login":"AliSoftware","id":216089,"avatar_url":"https://avatars.githubusercontent.com/u/216089?v=3","gravatar_id":"","url":"https://api.github.com/users/AliSoftware","html_url":"https://github.com/AliSoftware","followers_url":"https://api.github.com/users/AliSoftware/followers","following_url":"https://api.github.com/users/AliSoftware/following{/other_user}","gists_url":"https://api.github.com/users/AliSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/AliSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliSoftware/subscriptions","organizations_url":"https://api.github.com/users/AliSoftware/orgs","repos_url":"https://api.github.com/users/AliSoftware/repos","events_url":"https://api.github.com/users/AliSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/AliSoftware/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T21:18:10Z","updated_at":"2016-02-12T21:18:10Z","body":"@scottrhoyt I just opened #532 as I think this idea is great but we could bring it even further with an even more generic `swiftlint config` command :wink"}}