{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/706","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/706/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/706/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/706","id":46451244,"number":706,"title":"ES6 class methods","user":{"login":"qmmr","id":248396,"avatar_url":"https://avatars.githubusercontent.com/u/248396?v=3","gravatar_id":"","url":"https://api.github.com/users/qmmr","html_url":"https://github.com/qmmr","followers_url":"https://api.github.com/users/qmmr/followers","following_url":"https://api.github.com/users/qmmr/following{/other_user}","gists_url":"https://api.github.com/users/qmmr/gists{/gist_id}","starred_url":"https://api.github.com/users/qmmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmmr/subscriptions","organizations_url":"https://api.github.com/users/qmmr/orgs","repos_url":"https://api.github.com/users/qmmr/repos","events_url":"https://api.github.com/users/qmmr/events{/privacy}","received_events_url":"https://api.github.com/users/qmmr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/esnext","name":"esnext","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-10-21T22:11:59Z","updated_at":"2015-02-03T15:21:36Z","closed_at":"2015-02-03T14:54:34Z","body":"I've tried jscs on ES6 sample class and looks like the concise method's cause all of the problems.\r\n```javascript\r\nclass Foo extends BaseFoo {\r\n\tconstructor(name) {\r\n\t\tthis._name = name;\r\n\t}\r\n\r\n\tgetName() {\r\n\t\treturn this._name;\r\n\t}\r\n\r\n\tstatic toString() {\r\n\t\treturn 'Foo';\r\n\t}\r\n}\r\n\r\nIllegal space before opening round brace at test.js :\r\n     1 |class Foo extends BaseFoo {\r\n     2 | constructor(name) {\r\n---------------------------^\r\n     3 |  this._name = name;\r\n     4 | }\r\n\r\nIllegal space before opening round brace at test.js :\r\n     1 |class Foo extends BaseFoo {\r\n     2 | constructor(name) {\r\n---------------------------^\r\n     3 |  this._name = name;\r\n     4 | }\r\n\r\nIllegal space before opening round brace at test.js :\r\n     4 | }\r\n     5 |\r\n     6 | getName() {\r\n-------------------^\r\n     7 |  return this._name;\r\n     8 | }\r\n\r\nIllegal space before opening round brace at test.js :\r\n     4 | }\r\n     5 |\r\n     6 | getName() {\r\n-------------------^\r\n     7 |  return this._name;\r\n     8 | }\r\n\r\nIllegal space before opening round brace at test.js :\r\n     8 | }\r\n     9 |\r\n    10 | static toString() {\r\n---------------------------^\r\n    11 |  return 'Foo';\r\n    12 | }\r\n\r\nIllegal space before opening round brace at test.js :\r\n     8 | }\r\n     9 |\r\n    10 | static toString() {\r\n---------------------------^\r\n    11 |  return 'Foo';\r\n    12 | }\r\n\r\n\r\n6 code style errors found.\r\n```\r\n\r\nAre there any issues for that? I've looked for esnext label but didn't find anything.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/72668607","html_url":"https://github.com/jscs-dev/node-jscs/issues/706#issuecomment-72668607","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/706","id":72668607,"user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T15:21:36Z","updated_at":"2015-02-03T15:21:36Z","body":"Sounds good, thanks for following up. When do you expect the next release?"}}