{"action":"created","issue":{"url":"https://api.github.com/repos/w0rp/ale/issues/927","repository_url":"https://api.github.com/repos/w0rp/ale","labels_url":"https://api.github.com/repos/w0rp/ale/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/w0rp/ale/issues/927/comments","events_url":"https://api.github.com/repos/w0rp/ale/issues/927/events","html_url":"https://github.com/w0rp/ale/issues/927","id":257263539,"node_id":"MDU6SXNzdWUyNTcyNjM1Mzk=","number":927,"title":"tsserver running entire .vue files","user":{"login":"kaicataldo","id":7041728,"node_id":"MDQ6VXNlcjcwNDE3Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/7041728?v=4","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"labels":[{"id":439268498,"node_id":"MDU6TGFiZWw0MzkyNjg0OTg=","url":"https://api.github.com/repos/w0rp/ale/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-09-13T05:39:02Z","updated_at":"2018-10-26T09:05:56Z","closed_at":"2018-03-22T09:33:29Z","author_association":"NONE","body":"<!--\r\nFor bugs, paste output from your clipboard after running :ALEInfoToClipboard\r\nhere. If that doesn't work for some reason, try running :ALEInfo and copying\r\nthe output from that here instead. If everything is broken, run around in\r\ncircles and scream.\r\n\r\nWhatever the case, describe the your issue here.\r\n-->\r\nHi! First off, thanks for all your work on ale. I love how everything just works out of the box!\r\n\r\nI use TypeScript in [Vue single file component (.vue) files](https://vuejs.org/v2/guide/single-file-components.html). tsserver currently reports a bunch of errors because it is checking the entire contents of the file, rather than just the contents of the `script` tag (as is expected).\r\n\r\nIs there any way we could have it only check the contents of that tag? I know that might be out of the scope of this project. I believe other editor integrations run JavaScript/TypeScript linters on the contents of those tags only (unless ESLint is configured with a plugin to parse the `template` tag contents as well).\r\n\r\nI'd be happy to try to take a look at this if someone could point me in the right direction (though I'm not too familiar with VimScript). Thanks!\r\n\r\nMy ale .vimrc config:\r\n```\r\nlet g:ale_lint_on_text_changed = 'never'\r\nlet g:ale_echo_msg_format = '%linter%: %s'\r\nlet g:ale_linters = {\r\n  \\ 'javascript': ['eslint', 'flow'],\r\n  \\ 'typescript': ['eslint', 'tslint', 'tsserver'],\r\n  \\ 'vue': ['eslint', 'stylelint', 'tsserver'],\r\n  \\ 'php': ['phpcs'],\r\n  \\ 'html': []\r\n\\ }\r\nlet g:ale_linter_aliases = {'vue': ['css', 'javascript', 'typescript']}\r\n```\r\n\r\nResults of `:ALEInfo`:\r\n```\r\n Current Filetype: vue\r\nAvailable Linters: ['csslint', 'stylelint', 'eslint', 'flow', 'jscs', 'jshint', 'standard', 'xo', 'eslint', 'tslint', 'tsserver', 'typecheck']\r\n  Enabled Linters: ['stylelint', 'eslint', 'tsserver']\r\n Linter Variables:\r\n Global Variables:\r\nlet g:ale_echo_cursor = 1\r\nlet g:ale_echo_msg_error_str = 'Error'\r\nlet g:ale_echo_msg_format = '%linter%: %s'\r\nlet g:ale_echo_msg_warning_str = 'Warning'\r\nlet g:ale_enabled = 1\r\nlet g:ale_fix_on_save = 0\r\nlet g:ale_fixers = {}\r\nlet g:ale_keep_list_window_open = 0\r\nlet g:ale_lint_delay = 200\r\nlet g:ale_lint_on_enter = 1\r\nlet g:ale_lint_on_save = 1\r\nlet g:ale_lint_on_text_changed = 'never'\r\nlet g:ale_linter_aliases = {'vue': ['css', 'javascript', 'typescript']}\r\nlet g:ale_linters = {'typescript': ['eslint', 'tslint', 'tsserver'], 'vue': ['eslint', 'stylelint', 'tsserver'], 'php': ['phpcs'], 'html': [], 'javascript': [\r\n'eslint', 'flow']}\r\nlet g:ale_open_list = 0\r\nlet g:ale_set_highlights = 1\r\nlet g:ale_set_loclist = 1\r\nlet g:ale_set_quickfix = 0\r\nlet g:ale_set_signs = 1\r\nlet g:ale_sign_column_always = 0\r\nlet g:ale_sign_error = '>>'\r\nlet g:ale_sign_offset = 1000000\r\nlet g:ale_sign_warning = '--'\r\nlet g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']\r\nlet g:ale_warn_about_trailing_whitespace = 1\r\n  Command History:\r\n(started) ['/usr/local/bin/zsh', '-c', '/Users/cataldo/Work/behance/pro2-ui/node_modules/.bin/stylelint  --stdin-filename ''/Users/cataldo/Work/behance/pro2-u\r\ni/app/js/components/ui/BackSpin.vue'' < ''/var/folders/c0/s_2jpbsj39zg_tbt9tsjm4rh0000gn/T/nvimpnXIsd/2/BackSpin.vue''']\r\n(started) ['/usr/local/bin/zsh', '-c', '''/Users/cataldo/Work/behance/pro2-ui/node_modules/eslint/bin/eslint.js'' -f unix --stdin --stdin-filename ''/Users/ca\r\ntaldo/Work/behance/pro2-ui/app/js/components/ui/BackSpin.vue'' < ''/var/folders/c0/s_2jpbsj39zg_tbt9tsjm4rh0000gn/T/nvimpnXIsd/3/BackSpin.vue''']\r\n(started) ['/usr/local/bin/zsh', '-c', '/Users/cataldo/Work/behance/pro2-ui/node_modules/.bin/tsserver']\r\n(finished - exit code 0) ['/usr/local/bin/zsh', '-c', '/Users/cataldo/Work/behance/pro2-ui/node_modules/.bin/stylelint  --stdin-filename ''/Users/cataldo/Work\r\n/behance/pro2-ui/app/js/components/ui/BackSpin.vue'' < ''/var/folders/c0/s_2jpbsj39zg_tbt9tsjm4rh0000gn/T/nvimpnXIsd/6/BackSpin.vue''']\r\n<<<OUTPUT STARTS>>>\r\nDeprecation Warning: 'declaration-block-properties-order'has been deprecated and in 8.0 will be removed. Instead use the community 'stylelint-order' plugin pa\r\nck. See: https://stylelint.io/user-guide/rules/declaration-block-properties-order/\r\nDeprecation Warning: 'selector-no-empty' has been deprecated and in 8.0 will be removed. See: https://stylelint.io/user-guide/rules/selector-no-empty/\r\n<<<OUTPUT ENDS>>>\r\n(finished - exit code 0) ['/usr/local/bin/zsh', '-c', '''/Users/cataldo/Work/behance/pro2-ui/node_modules/eslint/bin/eslint.js'' -f unix --stdin --stdin-filen\r\name ''/Users/cataldo/Work/behance/pro2-ui/app/js/components/ui/BackSpin.vue'' < ''/var/folders/c0/s_2jpbsj39zg_tbt9tsjm4rh0000gn/T/nvimpnXIsd/7/BackSpin.vue''\r\n']\r\n<<<NO OUTPUT RETURNED>>>\r\n```"},"comment":{"url":"https://api.github.com/repos/w0rp/ale/issues/comments/433340691","html_url":"https://github.com/w0rp/ale/issues/927#issuecomment-433340691","issue_url":"https://api.github.com/repos/w0rp/ale/issues/927","id":433340691,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzM0MDY5MQ==","user":{"login":"lmiller1990","id":19196536,"node_id":"MDQ6VXNlcjE5MTk2NTM2","avatar_url":"https://avatars1.githubusercontent.com/u/19196536?v=4","gravatar_id":"","url":"https://api.github.com/users/lmiller1990","html_url":"https://github.com/lmiller1990","followers_url":"https://api.github.com/users/lmiller1990/followers","following_url":"https://api.github.com/users/lmiller1990/following{/other_user}","gists_url":"https://api.github.com/users/lmiller1990/gists{/gist_id}","starred_url":"https://api.github.com/users/lmiller1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmiller1990/subscriptions","organizations_url":"https://api.github.com/users/lmiller1990/orgs","repos_url":"https://api.github.com/users/lmiller1990/repos","events_url":"https://api.github.com/users/lmiller1990/events{/privacy}","received_events_url":"https://api.github.com/users/lmiller1990/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T09:05:56Z","updated_at":"2018-10-26T09:05:56Z","author_association":"NONE","body":"Woah, @w0rp is a superstar. Great job on this plugin."}}
{"actor":{"display_login":"lmiller1990"}}