{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4191","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4191/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4191/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4191/events","html_url":"https://github.com/eslint/eslint/pull/4191","id":112132469,"number":4191,"title":"Fix: no-magic-numbers: do not consider UnaryExpression + number as error (fixes #4192)","user":{"login":"ipanasenko","id":576152,"avatar_url":"https://avatars.githubusercontent.com/u/576152?v=3","gravatar_id":"","url":"https://api.github.com/users/ipanasenko","html_url":"https://github.com/ipanasenko","followers_url":"https://api.github.com/users/ipanasenko/followers","following_url":"https://api.github.com/users/ipanasenko/following{/other_user}","gists_url":"https://api.github.com/users/ipanasenko/gists{/gist_id}","starred_url":"https://api.github.com/users/ipanasenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipanasenko/subscriptions","organizations_url":"https://api.github.com/users/ipanasenko/orgs","repos_url":"https://api.github.com/users/ipanasenko/repos","events_url":"https://api.github.com/users/ipanasenko/events{/privacy}","received_events_url":"https://api.github.com/users/ipanasenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T12:18:07Z","updated_at":"2015-10-19T15:43:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/4191","html_url":"https://github.com/eslint/eslint/pull/4191","diff_url":"https://github.com/eslint/eslint/pull/4191.diff","patch_url":"https://github.com/eslint/eslint/pull/4191.patch"},"body":"Currently following code is considered as error: ```var foo = -42;```\r\nI don't think it should"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/149253440","html_url":"https://github.com/eslint/eslint/pull/4191#issuecomment-149253440","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4191","id":149253440,"user":{"login":"michaelficarra","id":218840,"avatar_url":"https://avatars.githubusercontent.com/u/218840?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelficarra","html_url":"https://github.com/michaelficarra","followers_url":"https://api.github.com/users/michaelficarra/followers","following_url":"https://api.github.com/users/michaelficarra/following{/other_user}","gists_url":"https://api.github.com/users/michaelficarra/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelficarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelficarra/subscriptions","organizations_url":"https://api.github.com/users/michaelficarra/orgs","repos_url":"https://api.github.com/users/michaelficarra/repos","events_url":"https://api.github.com/users/michaelficarra/events{/privacy}","received_events_url":"https://api.github.com/users/michaelficarra/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T15:43:00Z","updated_at":"2015-10-19T15:43:00Z","body":"This will allow negative magic numbers anywhere. It will also allow unary computation on magic numbers in any position, such as `~1`."}}