{"action":"closed","issue":{"url":"https://api.github.com/repos/koalaman/shellcheck/issues/767","repository_url":"https://api.github.com/repos/koalaman/shellcheck","labels_url":"https://api.github.com/repos/koalaman/shellcheck/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/koalaman/shellcheck/issues/767/comments","events_url":"https://api.github.com/repos/koalaman/shellcheck/issues/767/events","html_url":"https://github.com/koalaman/shellcheck/issues/767","id":186445224,"number":767,"title":"Enhancement: Warn on 'return -#'","user":{"login":"swizca","id":23178031,"avatar_url":"https://avatars.githubusercontent.com/u/23178031?v=3","gravatar_id":"","url":"https://api.github.com/users/swizca","html_url":"https://github.com/swizca","followers_url":"https://api.github.com/users/swizca/followers","following_url":"https://api.github.com/users/swizca/following{/other_user}","gists_url":"https://api.github.com/users/swizca/gists{/gist_id}","starred_url":"https://api.github.com/users/swizca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swizca/subscriptions","organizations_url":"https://api.github.com/users/swizca/orgs","repos_url":"https://api.github.com/users/swizca/repos","events_url":"https://api.github.com/users/swizca/events{/privacy}","received_events_url":"https://api.github.com/users/swizca/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-01T01:55:36Z","updated_at":"2016-11-01T23:02:11Z","closed_at":"2016-11-01T23:02:11Z","body":" \\# in 'return # ' may not be negative.\r\n\r\nCould shellcheck show a warning when encountered?\r\n\r\nHad knee jerk:\r\n[[ error condition ]] && return -1\r\n\r\nOops. Chased my tail on that for a bit."}}
{"actor":{"display_login":"koalaman"}}