{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6917","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6917/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6917/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6917/events","html_url":"https://github.com/eslint/eslint/issues/6917","id":171343993,"number":6917,"title":"user no-unused-vars except function","user":{"login":"Dn9x","id":2986320,"avatar_url":"https://avatars.githubusercontent.com/u/2986320?v=3","gravatar_id":"","url":"https://api.github.com/users/Dn9x","html_url":"https://github.com/Dn9x","followers_url":"https://api.github.com/users/Dn9x/followers","following_url":"https://api.github.com/users/Dn9x/following{/other_user}","gists_url":"https://api.github.com/users/Dn9x/gists{/gist_id}","starred_url":"https://api.github.com/users/Dn9x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dn9x/subscriptions","organizations_url":"https://api.github.com/users/Dn9x/orgs","repos_url":"https://api.github.com/users/Dn9x/repos","events_url":"https://api.github.com/users/Dn9x/events{/privacy}","received_events_url":"https://api.github.com/users/Dn9x/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-16T07:37:30Z","updated_at":"2016-08-17T07:17:45Z","closed_at":"2016-08-17T07:17:45Z","body":"my code:\r\n```main.js\r\nvar name = 'TM';\r\nfunction show() {\r\n    console.log('this is test');\r\n}\r\n```\r\n\r\n```main.html\r\n//something\r\n<button onClick=\"show()\">Test</button>\r\n//something\r\n```\r\n\r\nit have error:\r\nerror  'name' is defined but never used  no-unused-vars\r\nerror  'show' is defined but never used  no-unused-vars\r\n\r\ni only want to ignore function. how to do??\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/240332763","html_url":"https://github.com/eslint/eslint/issues/6917#issuecomment-240332763","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6917","id":240332763,"user":{"login":"Dn9x","id":2986320,"avatar_url":"https://avatars.githubusercontent.com/u/2986320?v=3","gravatar_id":"","url":"https://api.github.com/users/Dn9x","html_url":"https://github.com/Dn9x","followers_url":"https://api.github.com/users/Dn9x/followers","following_url":"https://api.github.com/users/Dn9x/following{/other_user}","gists_url":"https://api.github.com/users/Dn9x/gists{/gist_id}","starred_url":"https://api.github.com/users/Dn9x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dn9x/subscriptions","organizations_url":"https://api.github.com/users/Dn9x/orgs","repos_url":"https://api.github.com/users/Dn9x/repos","events_url":"https://api.github.com/users/Dn9x/events{/privacy}","received_events_url":"https://api.github.com/users/Dn9x/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T07:17:45Z","updated_at":"2016-08-17T07:17:45Z","body":"@platinumazure @ilyavolodin @vitorbal @ljharb very thanks.\r\nI think best way is i use `// eslint-disable-line `.  because i dont need use CommonJS or ECMAScript modules. \r\nvery thanks."}}
{"actor":{"display_login":"Dn9x"}}