{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4578","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4578/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4578/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4578/events","html_url":"https://github.com/eslint/eslint/issues/4578","id":119556535,"number":4578,"title":"eqeqeq: Don't autofix","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/breaking","name":"breaking","color":"e11d21"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-30T18:55:25Z","updated_at":"2015-12-01T16:59:46Z","closed_at":null,"body":"Right now, the `eqeqeq` rule will correct this:\r\n\r\n```js\r\nif (foo != null) {}\r\n```\r\n\r\nTo this:\r\n\r\n```js\r\nif (foo !== null) {}\r\n```\r\n\r\nWe should never autofix when `!=` is comparing against `null` or `undefined`, as the code might be relying on `null == undefined`.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28723120-eqeqeq-don-t-autofix?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/161031366","html_url":"https://github.com/eslint/eslint/issues/4578#issuecomment-161031366","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4578","id":161031366,"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-12-01T16:59:46Z","updated_at":"2015-12-01T16:59:46Z","body":"Yeah, I had the same concern that @platinumazure had."}}