{"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":13,"created_at":"2015-11-30T18:55:25Z","updated_at":"2015-12-01T16:48:32Z","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/161028005","html_url":"https://github.com/eslint/eslint/issues/4578#issuecomment-161028005","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4578","id":161028005,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T16:48:32Z","updated_at":"2015-12-01T16:48:32Z","body":"> @platinumazure I'd appreciate it if you could choose your words more considerately. I feel like you've been attacking me this whole thread because you disagreed. Disagreement is fine, but there are more constructive ways to express it (see how simply @michaelficarra both disagreed and expressed the reason for his disagreement).\r\n\r\nThat was not my intent. My intent was to ensure you were thinking clearly rather than reacting out of frustration. As project lead, you have the ability to make snap decisions and implement them in a hurry, and I was afraid that was about to happen here. If that came off as a personal attack, I apologize. As for expressing things more constructively and simply, I did that early on, and then you repeated yourself rather than actually taking the time to understand my point. So if we're going to talk about how to be more constructive, perhaps you could also interact more constructively with your users by not assuming they don't know basic JavaScript."}}