{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/94","labels_url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/94/comments","events_url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/94/events","html_url":"https://github.com/jscs-dev/gulp-jscs/issues/94","id":110926036,"number":94,"title":"es6 support?","user":{"login":"morgondag","id":4340802,"avatar_url":"https://avatars.githubusercontent.com/u/4340802?v=3","gravatar_id":"","url":"https://api.github.com/users/morgondag","html_url":"https://github.com/morgondag","followers_url":"https://api.github.com/users/morgondag/followers","following_url":"https://api.github.com/users/morgondag/following{/other_user}","gists_url":"https://api.github.com/users/morgondag/gists{/gist_id}","starred_url":"https://api.github.com/users/morgondag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgondag/subscriptions","organizations_url":"https://api.github.com/users/morgondag/orgs","repos_url":"https://api.github.com/users/morgondag/repos","events_url":"https://api.github.com/users/morgondag/events{/privacy}","received_events_url":"https://api.github.com/users/morgondag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T08:01:53Z","updated_at":"2015-10-29T08:45:28Z","closed_at":"2015-10-27T18:57:33Z","body":"is there some special configuration needed to be able to add support for es6 import?\r\n\r\ngetting all kind so of errors on classes and imports.\r\n```js\r\nvalidateQuoteMarks: Unsupported rule: disallowVar at components/select-box.js :\r\n     1 |import Component from \"component-loader-js/dist/es5/component.js\";\r\n```\r\n\r\n\r\nhere is my config\r\n\r\n```json\r\n{\r\n    \"excludeFiles\": [\"**/**/*test.js\", \"test-helper.js\"],\r\n    \"disallowAnonymousFunctions\": false,\r\n    \"esnext\": true,\r\n    \"verbose\": true,\r\n    \"disallowSpacesInNamedFunctionExpression\": {\r\n        \"beforeOpeningRoundBrace\": true\r\n    },\r\n    \"disallowSpacesInFunctionExpression\": {\r\n        \"beforeOpeningRoundBrace\": true\r\n    },\r\n    \"disallowSpacesInAnonymousFunctionExpression\": {\r\n        \"beforeOpeningRoundBrace\": true\r\n    },\r\n    \"disallowSpacesInFunctionDeclaration\": {\r\n        \"beforeOpeningRoundBrace\": true\r\n    },\r\n    \"disallowSpacesInsideArrayBrackets\": true,\r\n    \"disallowQuotedKeysInObjects\": true,\r\n    \"disallowSpaceBeforeBinaryOperators\": [\r\n        \",\"\r\n    ],\r\n    \"disallowMixedSpacesAndTabs\": true,\r\n    \"disallowYodaConditions\": true,\r\n    \"disallowKeywords\": [\"with\"],\r\n    \"disallowMultipleLineStrings\": true,\r\n    \"disallowMultipleVarDecl\": true,\r\n    \"disallowSpaceBeforeComma\": true,\r\n    \"disallowSpaceBeforeSemicolon\": true,\r\n    \"requireParenthesesAroundIIFE\": true,\r\n    \"requireBlocksOnNewline\": 1,\r\n    \"requireLineFeedAtFileEnd\": true,\r\n    \"requireSpaceBetweenArguments\": true,\r\n    \"requireSpaceAfterKeywords\": [\r\n        \"if\",\r\n        \"else\",\r\n        \"for\",\r\n        \"while\",\r\n        \"do\",\r\n        \"switch\",\r\n        \"case\",\r\n        \"return\",\r\n        \"try\",\r\n        \"catch\",\r\n        \"typeof\"\r\n    ],\r\n    \"requirePaddingNewLinesBeforeLineComments\": {\r\n        \"allExcept\": \"firstAfterCurly\"\r\n    },\r\n    \"requirePaddingNewLinesAfterBlocks\": true,\r\n    \"safeContextKeyword\": \"_this\",\r\n    \"validateLineBreaks\": \"LF\",\r\n    \"disallowEmptyBlocks\": true,\r\n    \"disallowMultipleLineBreaks\": true,\r\n    \"disallowNewlineBeforeBlockStatements\": true,\r\n    \"disallowOperatorBeforeLineBreak\": [\".\"],\r\n    \"disallowSpaceAfterObjectKeys\": true,\r\n    \"disallowSpaceAfterPrefixUnaryOperators\": true,\r\n    \"disallowSpaceBeforePostfixUnaryOperators\": true,\r\n    \"disallowSpacesInFunction\": {\r\n        \"beforeOpeningRoundBrace\": true\r\n    },\r\n    \"requireArrowFunctions\": true,\r\n    \"disallowSpacesInsideParentheses\": true,\r\n    \"disallowSpacesInCallExpression\": true,\r\n    \"disallowTrailingComma\": true,\r\n    \"disallowTrailingWhitespace\": true,\r\n    \"disallowVar\": true,\r\n    \"requireArrayDestructuring\": false,\r\n    \"requireCamelCaseOrUpperCaseIdentifiers\": \"ignoreProperties\",\r\n    \"requireCapitalizedConstructors\": true,\r\n    \"requireCommaBeforeLineBreak\": true,\r\n    \"requireCommentsToIncludeAccess\": false,\r\n    \"requireCurlyBraces\": [\r\n        \"if\",\r\n        \"else\",\r\n        \"for\",\r\n        \"while\",\r\n        \"do\",\r\n        \"try\",\r\n        \"catch\",\r\n        \"switch\"\r\n    ],\r\n    \"requireDotNotation\": true,\r\n    \"requireEnhancedObjectLiterals\": false,\r\n    \"requireLineBreakAfterVariableAssignment\": true,\r\n    \"requireObjectDestructuring\": true,\r\n    \"requireParenthesesAroundArrowParam\": true,\r\n    \"requireSemicolons\": true,\r\n    \"requireSpaceAfterBinaryOperators\": true,\r\n    \"requireSpaceAfterLineComment\": true,\r\n    \"requireSpaceBeforeBinaryOperators\": true,\r\n    \"requireSpaceBeforeBlockStatements\": true,\r\n    \"requireSpaceBeforeKeywords\": [\r\n        \"else\",\r\n        \"while\",\r\n        \"catch\"\r\n    ],\r\n    \"requireSpaceBeforeObjectValues\": true,\r\n    \"requireSpacesInFunction\": {\r\n        \"beforeOpeningCurlyBrace\": true\r\n    },\r\n    \"requireSpacesInConditionalExpression\": true,\r\n    \"requireSpacesInForStatement\": true,\r\n    \"requireSpacesInsideObjectBrackets\": \"all\",\r\n    \"requireTemplateStringsForConcatenation\": true,\r\n    \"validateIndentation\": \"\\t\",\r\n    \"validateParameterSeparator\": \", \",\r\n    \"validateQuoteMarks\": \"\\\"\"\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/comments/152113910","html_url":"https://github.com/jscs-dev/gulp-jscs/issues/94#issuecomment-152113910","issue_url":"https://api.github.com/repos/jscs-dev/gulp-jscs/issues/94","id":152113910,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T08:45:28Z","updated_at":"2015-10-29T08:45:28Z","body":"I can't see any place in the plugin code that could affect that. ES6 support is just an option you put in your config, JSCS, not this plugin, handles the rest.\r\n\r\nhttps://github.com/jscs-dev/gulp-jscs/blob/237d2c5d09e553fc3133bcd17c54cbbab3d331ed/index.js#L16"}}