{"action":"created","issue":{"url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/20","labels_url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/20/comments","events_url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/20/events","html_url":"https://github.com/TheSavior/SublimeJSCSFormatter/issues/20","id":67141964,"number":20,"title":"ES6 Syntax preventing formatter form running","user":{"login":"matt-e-king","id":3094245,"avatar_url":"https://avatars.githubusercontent.com/u/3094245?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-e-king","html_url":"https://github.com/matt-e-king","followers_url":"https://api.github.com/users/matt-e-king/followers","following_url":"https://api.github.com/users/matt-e-king/following{/other_user}","gists_url":"https://api.github.com/users/matt-e-king/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-e-king/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-e-king/subscriptions","organizations_url":"https://api.github.com/users/matt-e-king/orgs","repos_url":"https://api.github.com/users/matt-e-king/repos","events_url":"https://api.github.com/users/matt-e-king/events{/privacy}","received_events_url":"https://api.github.com/users/matt-e-king/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T14:24:55Z","updated_at":"2015-04-08T15:45:10Z","closed_at":null,"body":"Hey there! Thanks for the contribution. I am running Sublime Text 3 on a Mac using the Sublimelinter-jscs, and I am having issues running this formatter plugin on files with ES6 syntax. For instance:\r\n\r\nAssume this code has \"style\" issues:\r\n```\r\nvar Module = require('./module');\r\n\r\nsetInterval(function () {\r\n  if (boolean || anotherBoolean) {\r\n\r\n    return;\r\n\r\n  }\r\n}, delay);\r\n```\r\n\r\nWhen I run the formatter or save the file, the JSCS Formatter works perfectly. But if I convert that same code to:\r\n```\r\nimport Module from 'Module';\r\n\r\nsetInterval(() => {\r\n  if (boolean || anotherBoolean) {\r\n\r\n    return;\r\n\r\n  }\r\n}, delay);\r\n```\r\nThe JSCS Formatter doesn't appear to be working. I have ```--esnext``` and ```--esprima=esprima-fb``` in my Sublimelinter settings, so I still get the Sublimelinter visual indicators.\r\n\r\nLastly, in my Sublime console, when I run JSCS Formatter on the latter, I get only the following lines output:\r\n```\r\nUsing node.js path on 'osx': /usr/local/bin/node\r\nUsing jscs path on 'osx': /usr/local/bin/jscs\r\n```\r\n\r\nAny thoughts? Thanks!"},"comment":{"url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/comments/90956135","html_url":"https://github.com/TheSavior/SublimeJSCSFormatter/issues/20#issuecomment-90956135","issue_url":"https://api.github.com/repos/TheSavior/SublimeJSCSFormatter/issues/20","id":90956135,"user":{"login":"TheSavior","id":249164,"avatar_url":"https://avatars.githubusercontent.com/u/249164?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSavior","html_url":"https://github.com/TheSavior","followers_url":"https://api.github.com/users/TheSavior/followers","following_url":"https://api.github.com/users/TheSavior/following{/other_user}","gists_url":"https://api.github.com/users/TheSavior/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSavior/subscriptions","organizations_url":"https://api.github.com/users/TheSavior/orgs","repos_url":"https://api.github.com/users/TheSavior/repos","events_url":"https://api.github.com/users/TheSavior/events{/privacy}","received_events_url":"https://api.github.com/users/TheSavior/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T15:45:10Z","updated_at":"2015-04-08T15:45:10Z","body":"What happens if you specify esnext and the esprima in your .jscsrc file instead of passing them as args to the jscs executable? http://jscs.info/overview.html#esnext\r\n\r\nAlso, can you post your settings file for SublimeLinter-JSCS?"}}