{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/522","repository_url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/522/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/522/events","html_url":"https://github.com/Microsoft/TypeScript-TmLanguage/issues/522","id":259571186,"node_id":"MDU6SXNzdWUyNTk1NzExODY=","number":522,"title":"Support option chaining syntax highlighting","user":{"login":"mjbvz","id":12821956,"node_id":"MDQ6VXNlcjEyODIxOTU2","avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-21T17:20:37Z","updated_at":"2018-07-23T16:39:26Z","closed_at":"2017-12-22T21:16:01Z","author_association":"CONTRIBUTOR","body":"**[TS and JS Grammar Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.typescript-javascript-grammar) version:**  0.0.22 / latest\r\n\r\nFrom https://github.com/Microsoft/vscode/issues/34776#event-1259771216\r\n\r\n**Feature request** \r\nSupport highlighting the proposed [option chaining](https://github.com/tc39/proposal-optional-chaining) syntax for JS/TS\r\n\r\n```ts\r\nconst a = {\r\n  b: {\r\n    c: {\r\n      d: {\r\n        e: 1,\r\n        g: [1, 2, 3],\r\n      },\r\n    },\r\n    f: null,\r\n  },\r\n};\r\n\r\nconst brokenSyntaxHighlighting = () => {\r\n  const array = a?.b?.c?.d?.g;\r\n\r\n  /**\r\n   * No TypeEror, but syntax highlighting is broken\r\n   */\r\n  const test = a?.b?.f?.f;\r\n\r\n  for (let i = 0; i < array.length; i++) {\r\n    console.log(array[i]);\r\n  }\r\n};\r\n\r\nbrokenSyntaxHighlighting();\r\n```\r\n\r\n![30707451-31af05c4-9f04-11e7-9b4f-12e6ff3ad2f8](https://user-images.githubusercontent.com/12821956/30709245-72ca5908-9eb6-11e7-8a41-5ecba2d79816.png)\r\n\r\n\r\nTS support for this is tracked by: https://github.com/Microsoft/TypeScript/issues/16\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/comments/407122126","html_url":"https://github.com/Microsoft/TypeScript-TmLanguage/issues/522#issuecomment-407122126","issue_url":"https://api.github.com/repos/Microsoft/TypeScript-TmLanguage/issues/522","id":407122126,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzEyMjEyNg==","user":{"login":"fungilation","id":3803466,"node_id":"MDQ6VXNlcjM4MDM0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/3803466?v=4","gravatar_id":"","url":"https://api.github.com/users/fungilation","html_url":"https://github.com/fungilation","followers_url":"https://api.github.com/users/fungilation/followers","following_url":"https://api.github.com/users/fungilation/following{/other_user}","gists_url":"https://api.github.com/users/fungilation/gists{/gist_id}","starred_url":"https://api.github.com/users/fungilation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fungilation/subscriptions","organizations_url":"https://api.github.com/users/fungilation/orgs","repos_url":"https://api.github.com/users/fungilation/repos","events_url":"https://api.github.com/users/fungilation/events{/privacy}","received_events_url":"https://api.github.com/users/fungilation/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T16:39:26Z","updated_at":"2018-07-23T16:39:26Z","author_association":"NONE","body":"I see in my VSCode default config:\r\n```\r\n\"eslint.enable\": true,\r\n```\r\n\r\nWhich tells me eslint is already the default VSCode linter? If not, how would you turn off the internal js linter?"}}
{"actor":{"display_login":"fungilation"}}