{"action":"created","issue":{"url":"https://api.github.com/repos/mooz/js2-mode/issues/214","labels_url":"https://api.github.com/repos/mooz/js2-mode/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/mooz/js2-mode/issues/214/comments","events_url":"https://api.github.com/repos/mooz/js2-mode/issues/214/events","html_url":"https://github.com/mooz/js2-mode/issues/214","id":58336554,"number":214,"title":"Automatically add missing semi-colons","user":{"login":"Silex","id":16015,"avatar_url":"https://avatars.githubusercontent.com/u/16015?v=3","gravatar_id":"","url":"https://api.github.com/users/Silex","html_url":"https://github.com/Silex","followers_url":"https://api.github.com/users/Silex/followers","following_url":"https://api.github.com/users/Silex/following{/other_user}","gists_url":"https://api.github.com/users/Silex/gists{/gist_id}","starred_url":"https://api.github.com/users/Silex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silex/subscriptions","organizations_url":"https://api.github.com/users/Silex/orgs","repos_url":"https://api.github.com/users/Silex/repos","events_url":"https://api.github.com/users/Silex/events{/privacy}","received_events_url":"https://api.github.com/users/Silex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-20T10:56:57Z","updated_at":"2015-02-20T15:19:10Z","closed_at":null,"body":"Hello,\r\n\r\nI wrote a little hack:\r\n\r\n``` elisp\r\n(defun js2-add-semi-colons ()\r\n  \"Add missing semi-colons.\"\r\n  (interactive)\r\n  (--each (--select (string-equal (caar it) \"msg.missing.semi\") (js2-warnings))\r\n    (let ((pos (nth 1 it))\r\n          (length (nth 2 it)))\r\n      (goto-char (+ pos length))\r\n      (insert \";\"))))\r\n```\r\n\r\nThis is obviously not mature enough to include \"as is\", but what do you think of it? Maybe the `*js-lint*` buffer could offer some `js2-error-apply-suggestion` which would do the right thing in many cases?"},"comment":{"url":"https://api.github.com/repos/mooz/js2-mode/issues/comments/75254418","html_url":"https://github.com/mooz/js2-mode/issues/214#issuecomment-75254418","issue_url":"https://api.github.com/repos/mooz/js2-mode/issues/214","id":75254418,"user":{"login":"Silex","id":16015,"avatar_url":"https://avatars.githubusercontent.com/u/16015?v=3","gravatar_id":"","url":"https://api.github.com/users/Silex","html_url":"https://github.com/Silex","followers_url":"https://api.github.com/users/Silex/followers","following_url":"https://api.github.com/users/Silex/following{/other_user}","gists_url":"https://api.github.com/users/Silex/gists{/gist_id}","starred_url":"https://api.github.com/users/Silex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silex/subscriptions","organizations_url":"https://api.github.com/users/Silex/orgs","repos_url":"https://api.github.com/users/Silex/repos","events_url":"https://api.github.com/users/Silex/events{/privacy}","received_events_url":"https://api.github.com/users/Silex/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T15:19:10Z","updated_at":"2015-02-20T15:19:10Z","body":"Does that require the sending of written documents to the FSF or whoever? Can't a simple \"I'm ok with it\" be enough?\r\n\r\nI never quite understood why it needs to be that complicated to contribute, and don't get me wrong I know you have nothing to do with it :) To me it looks like it closes the door to so many people/packages/resources."}}