{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/356","labels_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/356/comments","events_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/356/events","html_url":"https://github.com/SublimeLinter/SublimeLinter3/issues/356","id":112875644,"number":356,"title":"<script> in HTML file results in \"Parsing error: Unexpected token <\"","user":{"login":"OliverJAsh","id":921609,"avatar_url":"https://avatars.githubusercontent.com/u/921609?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverJAsh","html_url":"https://github.com/OliverJAsh","followers_url":"https://api.github.com/users/OliverJAsh/followers","following_url":"https://api.github.com/users/OliverJAsh/following{/other_user}","gists_url":"https://api.github.com/users/OliverJAsh/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverJAsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverJAsh/subscriptions","organizations_url":"https://api.github.com/users/OliverJAsh/orgs","repos_url":"https://api.github.com/users/OliverJAsh/repos","events_url":"https://api.github.com/users/OliverJAsh/events{/privacy}","received_events_url":"https://api.github.com/users/OliverJAsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T19:38:28Z","updated_at":"2015-11-19T05:03:17Z","closed_at":null,"body":"I am using the ESLint plugin for SublimeLinter.\r\n\r\n``` json\r\n// package.json\r\n{\r\n  \"name\": \"eslint-html\",\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"eslint\": \"^1.7.2\"\r\n  }\r\n}\r\n```\r\n\r\n``` json\r\n// .eslintrc\r\n{}\r\n```\r\n\r\n``` html\r\n<!-- foo.html -->\r\n<html>\r\n    <body>\r\n        <script>\r\n            var foo = function () {\r\n\r\n            };\r\n        </script>\r\n    </body>\r\n</html>\r\n```\r\n\r\nI get the following error: `Parsing error: Unexpected token <` at line 3 at the start of `<script>`.\r\n\r\nI have also tested this with the jscs linter plugin, which gaves me exactly the same error.\r\n\r\nI understand SublimeLinter patches the HTML syntax so it can lint inline scripts. It reads the other HTML fine, but stumbles on `<script>`. This suggests that SublimeLinter works fine for excluding HTML, just not the script tag?\r\n\r\nI have tried restarting Sublime.\r\n\r\nOriginally posted at https://github.com/roadhump/SublimeLinter-eslint/issues/99"},"comment":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/comments/157951640","html_url":"https://github.com/SublimeLinter/SublimeLinter3/issues/356#issuecomment-157951640","issue_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter3/issues/356","id":157951640,"user":{"login":"hyperknot","id":494223,"avatar_url":"https://avatars.githubusercontent.com/u/494223?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperknot","html_url":"https://github.com/hyperknot","followers_url":"https://api.github.com/users/hyperknot/followers","following_url":"https://api.github.com/users/hyperknot/following{/other_user}","gists_url":"https://api.github.com/users/hyperknot/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperknot/subscriptions","organizations_url":"https://api.github.com/users/hyperknot/orgs","repos_url":"https://api.github.com/users/hyperknot/repos","events_url":"https://api.github.com/users/hyperknot/events{/privacy}","received_events_url":"https://api.github.com/users/hyperknot/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T05:03:17Z","updated_at":"2015-11-19T05:03:17Z","body":"I've run into the same issue as well. Is there a way to disable lining on html sources as a temporary fix?"}}