{"action":"created","issue":{"url":"https://api.github.com/repos/jshint/jshint/issues/2744","labels_url":"https://api.github.com/repos/jshint/jshint/issues/2744/labels{/name}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2744/comments","events_url":"https://api.github.com/repos/jshint/jshint/issues/2744/events","html_url":"https://github.com/jshint/jshint/issues/2744","id":114787939,"number":2744,"title":"Add strictness level for plusplus","user":{"login":"ttsirkia","id":2797729,"avatar_url":"https://avatars.githubusercontent.com/u/2797729?v=3","gravatar_id":"","url":"https://api.github.com/users/ttsirkia","html_url":"https://github.com/ttsirkia","followers_url":"https://api.github.com/users/ttsirkia/followers","following_url":"https://api.github.com/users/ttsirkia/following{/other_user}","gists_url":"https://api.github.com/users/ttsirkia/gists{/gist_id}","starred_url":"https://api.github.com/users/ttsirkia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttsirkia/subscriptions","organizations_url":"https://api.github.com/users/ttsirkia/orgs","repos_url":"https://api.github.com/users/ttsirkia/repos","events_url":"https://api.github.com/users/ttsirkia/events{/privacy}","received_events_url":"https://api.github.com/users/ttsirkia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T10:48:17Z","updated_at":"2015-11-03T13:21:06Z","closed_at":null,"body":"It would be nice to have an option for `plusplus` which allows use cases such as\r\n\r\n```\r\nfor (var i = 0; i < myArray.length; i++)\r\n```\r\nor\r\n```\r\nmyVar++;\r\n```\r\n\r\nBut it should complain about this:\r\n```\r\nmyVar = myOtherVar + mySecondVar++;\r\n```\r\n\r\nSo I suggest that there are three modes: `off`, `strict` or `simple` that allows usage when not in complex expressions.\r\n\r\nEspecially that looping case is so common that there should be option to allow it although it would be elsewhere forbidden."},"comment":{"url":"https://api.github.com/repos/jshint/jshint/issues/comments/153349749","html_url":"https://github.com/jshint/jshint/issues/2744#issuecomment-153349749","issue_url":"https://api.github.com/repos/jshint/jshint/issues/2744","id":153349749,"user":{"login":"nicolo-ribaudo","id":7000710,"avatar_url":"https://avatars.githubusercontent.com/u/7000710?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolo-ribaudo","html_url":"https://github.com/nicolo-ribaudo","followers_url":"https://api.github.com/users/nicolo-ribaudo/followers","following_url":"https://api.github.com/users/nicolo-ribaudo/following{/other_user}","gists_url":"https://api.github.com/users/nicolo-ribaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolo-ribaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolo-ribaudo/subscriptions","organizations_url":"https://api.github.com/users/nicolo-ribaudo/orgs","repos_url":"https://api.github.com/users/nicolo-ribaudo/repos","events_url":"https://api.github.com/users/nicolo-ribaudo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolo-ribaudo/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T13:21:06Z","updated_at":"2015-11-03T13:21:06Z","body":"What about `true`, `false` and `stmt`?"}}