{"action":"created","issue":{"url":"https://api.github.com/repos/sasstools/sass-lint/issues/944","repository_url":"https://api.github.com/repos/sasstools/sass-lint","labels_url":"https://api.github.com/repos/sasstools/sass-lint/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/sasstools/sass-lint/issues/944/comments","events_url":"https://api.github.com/repos/sasstools/sass-lint/issues/944/events","html_url":"https://github.com/sasstools/sass-lint/issues/944","id":187875690,"number":944,"title":"The code inside \"Disable/enable all linters\" is actually parsed","user":{"login":"malyw","id":966774,"avatar_url":"https://avatars.githubusercontent.com/u/966774?v=3","gravatar_id":"","url":"https://api.github.com/users/malyw","html_url":"https://github.com/malyw","followers_url":"https://api.github.com/users/malyw/followers","following_url":"https://api.github.com/users/malyw/following{/other_user}","gists_url":"https://api.github.com/users/malyw/gists{/gist_id}","starred_url":"https://api.github.com/users/malyw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malyw/subscriptions","organizations_url":"https://api.github.com/users/malyw/orgs","repos_url":"https://api.github.com/users/malyw/repos","events_url":"https://api.github.com/users/malyw/events{/privacy}","received_events_url":"https://api.github.com/users/malyw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-08T01:14:23Z","updated_at":"2016-11-08T09:47:43Z","closed_at":"2016-11-08T09:20:05Z","body":"**Sass Lint version:** 1.10.1\r\n**Configuration:** Default\r\n**Expected behavior:**\r\nSass-lint to ignore all the errors inside\r\n// sass-lint:disable-all\r\n...\r\n// sass-lint:enable-all\r\nblocks, as described at https://github.com/sasstools/sass-lint/blob/develop/docs/toggle-rules-in-src.md\r\n\r\n**Actual behavior:**\r\nFor the popular library include-media https://github.com/eduardoboucas/include-media/blob/master/dist/_include-media.scss\r\nSass-linter cannot parse the block (which is the valid Sass code):\r\n```scsss\r\n@include media(slice($conditions, 2)...) {\r\n        @content;\r\n      }\r\n```\r\nans says `error  Please check validity of the block starting from line #X  Fatal`\r\n\r\nThe same behavior if the block is wrapped in the \"disable-all\" rule:\r\n```scss\r\n// sass-lint:disable-all\r\n      @include media(slice($conditions, 2)...) {\r\n        @content;\r\n      }\r\n      // sass-lint:enable-all\r\n```\r\n\r\n**The problem**\r\nDespite just Sass-lint to actually check the ignored code, looks like it has problems with functions followed by three dots (variable arguments):\r\nhttp://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_arguments\r\nhttps://www.sitepoint.com/sass-multiple-arguments-lists-or-arglist/"},"comment":{"url":"https://api.github.com/repos/sasstools/sass-lint/issues/comments/259091743","html_url":"https://github.com/sasstools/sass-lint/issues/944#issuecomment-259091743","issue_url":"https://api.github.com/repos/sasstools/sass-lint/issues/944","id":259091743,"user":{"login":"bgriffith","id":2854338,"avatar_url":"https://avatars.githubusercontent.com/u/2854338?v=3","gravatar_id":"","url":"https://api.github.com/users/bgriffith","html_url":"https://github.com/bgriffith","followers_url":"https://api.github.com/users/bgriffith/followers","following_url":"https://api.github.com/users/bgriffith/following{/other_user}","gists_url":"https://api.github.com/users/bgriffith/gists{/gist_id}","starred_url":"https://api.github.com/users/bgriffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgriffith/subscriptions","organizations_url":"https://api.github.com/users/bgriffith/orgs","repos_url":"https://api.github.com/users/bgriffith/repos","events_url":"https://api.github.com/users/bgriffith/events{/privacy}","received_events_url":"https://api.github.com/users/bgriffith/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T09:47:43Z","updated_at":"2016-11-08T09:47:43Z","body":"Hey @malyw - Just a heads up that this has already been fixed in the parser https://github.com/tonyganch/gonzales-pe/issues/219 and will be fixed in sass-lint once the parser does a new release :+1:"}}
{"actor":{"display_login":"bgriffith"}}