{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/2275","repository_url":"https://api.github.com/repos/realm/SwiftLint","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/2275/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/2275/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/2275/events","html_url":"https://github.com/realm/SwiftLint/issues/2275","id":337349133,"node_id":"MDU6SXNzdWUzMzczNDkxMzM=","number":2275,"title":"force-exclude doesn't work","user":{"login":"cooksimo","id":1697654,"node_id":"MDQ6VXNlcjE2OTc2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1697654?v=4","gravatar_id":"","url":"https://api.github.com/users/cooksimo","html_url":"https://github.com/cooksimo","followers_url":"https://api.github.com/users/cooksimo/followers","following_url":"https://api.github.com/users/cooksimo/following{/other_user}","gists_url":"https://api.github.com/users/cooksimo/gists{/gist_id}","starred_url":"https://api.github.com/users/cooksimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooksimo/subscriptions","organizations_url":"https://api.github.com/users/cooksimo/orgs","repos_url":"https://api.github.com/users/cooksimo/repos","events_url":"https://api.github.com/users/cooksimo/events{/privacy}","received_events_url":"https://api.github.com/users/cooksimo/received_events","type":"User","site_admin":false},"labels":[{"id":955077824,"node_id":"MDU6TGFiZWw5NTUwNzc4MjQ=","url":"https://api.github.com/repos/realm/SwiftLint/labels/O:User","name":"O:User","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-02T02:29:05Z","updated_at":"2018-07-03T04:10:45Z","closed_at":null,"author_association":"NONE","body":"### New Issue Checklist\r\n\r\n- [x] Updated SwiftLint to the latest version\r\n- [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues)\r\n\r\n### Bug Report\r\n\r\nRunning swiftlint with a `path` specified and an exclusion in the config that would exclude that file still lints that file even when `force-exclude` is specified.\r\n\r\n```bash\r\n$ swiftlint lint --path path/to/SomeFile.swift --force-exclude\r\n```\r\n\r\n### Environment\r\n\r\n* SwiftLint version (run `swiftlint version` to be sure)?\r\n0.26.0\r\n* Installation method used (Homebrew, CocoaPods, building from source, etc)?\r\nCocoapods\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/402007705","html_url":"https://github.com/realm/SwiftLint/issues/2275#issuecomment-402007705","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/2275","id":402007705,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAwNzcwNQ==","user":{"login":"cooksimo","id":1697654,"node_id":"MDQ6VXNlcjE2OTc2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1697654?v=4","gravatar_id":"","url":"https://api.github.com/users/cooksimo","html_url":"https://github.com/cooksimo","followers_url":"https://api.github.com/users/cooksimo/followers","following_url":"https://api.github.com/users/cooksimo/following{/other_user}","gists_url":"https://api.github.com/users/cooksimo/gists{/gist_id}","starred_url":"https://api.github.com/users/cooksimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooksimo/subscriptions","organizations_url":"https://api.github.com/users/cooksimo/orgs","repos_url":"https://api.github.com/users/cooksimo/repos","events_url":"https://api.github.com/users/cooksimo/events{/privacy}","received_events_url":"https://api.github.com/users/cooksimo/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T04:10:45Z","updated_at":"2018-07-03T04:10:45Z","author_association":"NONE","body":"Sure, see attached.\r\n\r\n[swiftlint-example.zip](https://github.com/realm/SwiftLint/files/2157613/swiftlint-example.zip)\r\n\r\nRunning `swiftlint --path exclude/ExcludeMe.swift --force-exclude` will still lint the file `exclude/ExcludeMe.swift`"}}
{"actor":{"display_login":"cooksimo"}}