{"action":"created","issue":{"url":"https://api.github.com/repos/troessner/reek/issues/594","labels_url":"https://api.github.com/repos/troessner/reek/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/troessner/reek/issues/594/comments","events_url":"https://api.github.com/repos/troessner/reek/issues/594/events","html_url":"https://github.com/troessner/reek/issues/594","id":94478279,"number":594,"title":"Don’t use singleton configuration","user":{"login":"chastell","id":56633,"avatar_url":"https://avatars.githubusercontent.com/u/56633?v=3","gravatar_id":"","url":"https://api.github.com/users/chastell","html_url":"https://github.com/chastell","followers_url":"https://api.github.com/users/chastell/followers","following_url":"https://api.github.com/users/chastell/following{/other_user}","gists_url":"https://api.github.com/users/chastell/gists{/gist_id}","starred_url":"https://api.github.com/users/chastell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chastell/subscriptions","organizations_url":"https://api.github.com/users/chastell/orgs","repos_url":"https://api.github.com/users/chastell/repos","events_url":"https://api.github.com/users/chastell/events{/privacy}","received_events_url":"https://api.github.com/users/chastell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-11T14:29:11Z","updated_at":"2015-07-11T21:12:27Z","closed_at":null,"body":"State-holding singletons are problematic, [configuration ones doubly so](https://github.com/troessner/reek/pull/591). Let’s turn `AppConfiguration` into a class and use it instead of the singleton, injecting where necessary (this won’t be trivial, but should be doable)."},"comment":{"url":"https://api.github.com/repos/troessner/reek/issues/comments/120661890","html_url":"https://github.com/troessner/reek/issues/594#issuecomment-120661890","issue_url":"https://api.github.com/repos/troessner/reek/issues/594","id":120661890,"user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T21:12:27Z","updated_at":"2015-07-11T21:12:27Z","body":"I am working on this already in the course of having directory specific smell configuration (precursor for the rails mode)."}}