{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/hound/issues/522","labels_url":"https://api.github.com/repos/thoughtbot/hound/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/hound/issues/522/comments","events_url":"https://api.github.com/repos/thoughtbot/hound/issues/522/events","html_url":"https://github.com/thoughtbot/hound/issues/522","id":52376822,"number":522,"title":"Hound ignoring path-based excludes with wildcards","user":{"login":"prsimp","id":630902,"avatar_url":"https://avatars.githubusercontent.com/u/630902?v=3","gravatar_id":"","url":"https://api.github.com/users/prsimp","html_url":"https://github.com/prsimp","followers_url":"https://api.github.com/users/prsimp/followers","following_url":"https://api.github.com/users/prsimp/following{/other_user}","gists_url":"https://api.github.com/users/prsimp/gists{/gist_id}","starred_url":"https://api.github.com/users/prsimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prsimp/subscriptions","organizations_url":"https://api.github.com/users/prsimp/orgs","repos_url":"https://api.github.com/users/prsimp/repos","events_url":"https://api.github.com/users/prsimp/events{/privacy}","received_events_url":"https://api.github.com/users/prsimp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thoughtbot/hound/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-18T15:33:33Z","updated_at":"2015-02-06T05:20:08Z","closed_at":"2015-02-06T05:20:08Z","body":"Given this configuration:\r\n\r\n```yml\r\n# ./.hound.yml\r\nruby:\r\n  enabled: true\r\n  config_file: .rubocop.yml\r\n\r\n# ./.rubocop.yml\r\nStyle/Blocks:\r\n  Exclude:\r\n    - spec/**/*\r\n```\r\n\r\nAnd a spec file with this sort of syntax:\r\n```ruby\r\nit 'changes something' do\r\n  expect {\r\n    SomeClassName.a_method_that_changes_the_count\r\n  }.to change { SomeClassName.count }\r\nend\r\n```\r\n\r\nLocally, Rubocop 0.25.0 does not complain about this block syntax, however, Hound will comment on the line with the `Avoid using {...} for multi-line blocks.` message.\r\n\r\nThis occurs with other cops (i.e. Style/PredicateName, Style/RescueModifier), but seems to be limited to cops that are using a wildcard pattern (though this is an intuition, not a confirmed fact).\r\n\r\nThe configuration *is* being detected and loaded, as other rules are respected (particularly when they differ from the default).\r\n\r\nHound is very useful, but it's usefulness is greatly diminished when you're unable to stop it from commenting on non-issues.\r\n\r\nLet me know if there's any other info I can add to help diagnose. The repo in question isn't public, but I can create a public dummy project to demonstrate the issue if needed. Thanks in advance!"},"comment":{"url":"https://api.github.com/repos/thoughtbot/hound/issues/comments/73184437","html_url":"https://github.com/thoughtbot/hound/issues/522#issuecomment-73184437","issue_url":"https://api.github.com/repos/thoughtbot/hound/issues/522","id":73184437,"user":{"login":"salbertson","id":154463,"avatar_url":"https://avatars.githubusercontent.com/u/154463?v=3","gravatar_id":"","url":"https://api.github.com/users/salbertson","html_url":"https://github.com/salbertson","followers_url":"https://api.github.com/users/salbertson/followers","following_url":"https://api.github.com/users/salbertson/following{/other_user}","gists_url":"https://api.github.com/users/salbertson/gists{/gist_id}","starred_url":"https://api.github.com/users/salbertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salbertson/subscriptions","organizations_url":"https://api.github.com/users/salbertson/orgs","repos_url":"https://api.github.com/users/salbertson/repos","events_url":"https://api.github.com/users/salbertson/events{/privacy}","received_events_url":"https://api.github.com/users/salbertson/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T05:20:07Z","updated_at":"2015-02-06T05:20:07Z","body":"@prsimp, this has been fixed!"}}