{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/77","repository_url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib","labels_url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/77/comments","events_url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/77/events","html_url":"https://github.com/Microsoft/tslint-microsoft-contrib/issues/77","id":114595891,"number":77,"title":"New rule: no bind calls","user":{"login":"danielmanesku","id":6186277,"avatar_url":"https://avatars.githubusercontent.com/u/6186277?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmanesku","html_url":"https://github.com/danielmanesku","followers_url":"https://api.github.com/users/danielmanesku/followers","following_url":"https://api.github.com/users/danielmanesku/following{/other_user}","gists_url":"https://api.github.com/users/danielmanesku/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmanesku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmanesku/subscriptions","organizations_url":"https://api.github.com/users/danielmanesku/orgs","repos_url":"https://api.github.com/users/danielmanesku/repos","events_url":"https://api.github.com/users/danielmanesku/events{/privacy}","received_events_url":"https://api.github.com/users/danielmanesku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T13:41:28Z","updated_at":"2016-04-22T14:55:55Z","closed_at":null,"body":"Calling bind() or _.bind() is not type safe. It should be discouraged.\r\nInstead, lambda expression should be used.\r\n\r\nWe should either update \"no-unnecessary-bind\" or create a entirely new rule."},"comment":{"url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/comments/213462787","html_url":"https://github.com/Microsoft/tslint-microsoft-contrib/issues/77#issuecomment-213462787","issue_url":"https://api.github.com/repos/Microsoft/tslint-microsoft-contrib/issues/77","id":213462787,"user":{"login":"chrismbarr","id":463685,"avatar_url":"https://avatars.githubusercontent.com/u/463685?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismbarr","html_url":"https://github.com/chrismbarr","followers_url":"https://api.github.com/users/chrismbarr/followers","following_url":"https://api.github.com/users/chrismbarr/following{/other_user}","gists_url":"https://api.github.com/users/chrismbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismbarr/subscriptions","organizations_url":"https://api.github.com/users/chrismbarr/orgs","repos_url":"https://api.github.com/users/chrismbarr/repos","events_url":"https://api.github.com/users/chrismbarr/events{/privacy}","received_events_url":"https://api.github.com/users/chrismbarr/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T14:55:55Z","updated_at":"2016-04-22T14:55:55Z","body":"It's possible to ban the underscore calls \r\n```json\r\n\"ban\": [\r\n    true,\r\n    [ \"_\", \"bind\" ]\r\n]\r\n```\r\nAnd there is an issue submitted to the main TSLint project to allow banning native function calls https://github.com/palantir/tslint/issues/733, although there has really been no progress on it fromw what I can tell."}}