{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/102","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/102/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/102/events","html_url":"https://github.com/realm/SwiftLint/issues/102","id":103137172,"number":102,"title":"Give file name when using STDIN input","user":{"login":"jakecraige","id":3799709,"avatar_url":"https://avatars.githubusercontent.com/u/3799709?v=3","gravatar_id":"","url":"https://api.github.com/users/jakecraige","html_url":"https://github.com/jakecraige","followers_url":"https://api.github.com/users/jakecraige/followers","following_url":"https://api.github.com/users/jakecraige/following{/other_user}","gists_url":"https://api.github.com/users/jakecraige/gists{/gist_id}","starred_url":"https://api.github.com/users/jakecraige/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakecraige/subscriptions","organizations_url":"https://api.github.com/users/jakecraige/orgs","repos_url":"https://api.github.com/users/jakecraige/repos","events_url":"https://api.github.com/users/jakecraige/events{/privacy}","received_events_url":"https://api.github.com/users/jakecraige/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T23:21:01Z","updated_at":"2015-08-25T23:32:09Z","closed_at":null,"body":"Currently when using the STDIN option you aren't able to give it a filename. In it's current state this doesn't matter but when you are able to exclude files it would be nice to give it a file name so that SwiftLint can decide to ignore it and return no violations.\r\n\r\nWithout this, anyone using stdin will have to manually read the config to exclude specific files.\r\n\r\nI'm pretty sure I could put together a PR to support this if you're for it.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/134770215","html_url":"https://github.com/realm/SwiftLint/issues/102#issuecomment-134770215","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/102","id":134770215,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T23:32:08Z","updated_at":"2015-08-25T23:32:08Z","body":"> I'm pretty sure I could put together a PR to support this if you're for it.\r\n> \r\n> Thoughts?\r\n\r\nSounds like you need this for hound, so if you make a good PR for this, I'd happily merge it. How do other tools generally deal with this?"}}