{"action":"created","issue":{"url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/34","labels_url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/34/comments","events_url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/34/events","html_url":"https://github.com/babel/eslint-plugin-babel/issues/34","id":121068065,"number":34,"title":"Callable class constructors","user":{"login":"callumlocke","id":250617,"avatar_url":"https://avatars.githubusercontent.com/u/250617?v=3","gravatar_id":"","url":"https://api.github.com/users/callumlocke","html_url":"https://github.com/callumlocke","followers_url":"https://api.github.com/users/callumlocke/followers","following_url":"https://api.github.com/users/callumlocke/following{/other_user}","gists_url":"https://api.github.com/users/callumlocke/gists{/gist_id}","starred_url":"https://api.github.com/users/callumlocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumlocke/subscriptions","organizations_url":"https://api.github.com/users/callumlocke/orgs","repos_url":"https://api.github.com/users/callumlocke/repos","events_url":"https://api.github.com/users/callumlocke/events{/privacy}","received_events_url":"https://api.github.com/users/callumlocke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T18:24:01Z","updated_at":"2015-12-09T01:29:47Z","closed_at":null,"body":"There's a stage 1 proposal for [callable class constructors](https://github.com/tc39/ecma262/blob/master/workingdocs/callconstructor.md) that allows code like this:\r\n\r\n```js\r\nimport { initializeDate, ToDateString } from './date-implementation';\r\n\r\nclass Date {\r\n  // `new Date()`\r\n  constructor(...args) {\r\n    initializeDate(super(), ...args);\r\n  }\r\n\r\n  // `Date()`\r\n  call constructor() {\r\n    return ToDateString(clockGetTime());\r\n  }\r\n}\r\n```\r\n\r\nAnd there's a [babel transform](http://babeljs.io/docs/plugins/transform-class-constructor-call/) for it.\r\n\r\nBut eslint doesn't seem to be able to handle it, even with this plugin. Am I configuring it wrong, or is this not supported?"},"comment":{"url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/comments/163077696","html_url":"https://github.com/babel/eslint-plugin-babel/issues/34#issuecomment-163077696","issue_url":"https://api.github.com/repos/babel/eslint-plugin-babel/issues/34","id":163077696,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T01:29:47Z","updated_at":"2015-12-09T01:29:47Z","body":"Yeah technically not related to this but we can just do it here - most likely you aren't using the version that has babel 6 support (that is when it was added in). Right now its a beta version"}}