{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3333","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3333/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3333/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3333/events","html_url":"https://github.com/eslint/eslint/issues/3333","id":99839796,"number":3333,"title":"`object-shorthand` and \"unexpected token }\"","user":{"login":"slacktracer","id":1865407,"avatar_url":"https://avatars.githubusercontent.com/u/1865407?v=3","gravatar_id":"","url":"https://api.github.com/users/slacktracer","html_url":"https://github.com/slacktracer","followers_url":"https://api.github.com/users/slacktracer/followers","following_url":"https://api.github.com/users/slacktracer/following{/other_user}","gists_url":"https://api.github.com/users/slacktracer/gists{/gist_id}","starred_url":"https://api.github.com/users/slacktracer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slacktracer/subscriptions","organizations_url":"https://api.github.com/users/slacktracer/orgs","repos_url":"https://api.github.com/users/slacktracer/repos","events_url":"https://api.github.com/users/slacktracer/events{/privacy}","received_events_url":"https://api.github.com/users/slacktracer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-08T22:40:38Z","updated_at":"2015-08-10T22:56:11Z","closed_at":"2015-08-10T22:56:11Z","body":"Having this piece of code:\r\n\r\n    // test.js\r\n    'use strict';\r\n    function f(value) {\r\n        return {\r\n            value\r\n        };\r\n    }\r\n    let o = f('some value');\r\n    console.log(o);\r\n\r\nAnd this .eslintrc:\r\n\r\n    {\r\n        \"rules\": {\r\n            \"object-shorthand\": [\r\n                2,\r\n                \"always\"\r\n            ]\r\n        }\r\n    }\r\n\r\nI get the following:\r\n\r\n      5:6  error  Unexpected token }\r\n\r\n[I asked about it on StackOverflow.](http://stackoverflow.com/questions/31898616/identifying-gulp-eslint-error-reason)\r\n\r\nIs it a bug? What can I do to verify it and help?\r\n\r\nAlso, if I change `f` to:\r\n\r\n    function f(value) {\r\n        var property = true;\r\n        return {\r\n            value,\r\n            property\r\n        };\r\n    }\r\n\r\nI get:\r\n\r\n      5:15  error  Unexpected token ,\r\n\r\nAnd if I change it to:\r\n\r\n    function f(value) {\r\n        let property = true;\r\n        return {\r\n            value,\r\n            property\r\n        };\r\n    }\r\n\r\nI get:\r\n\r\n      3:6  error  Use of future reserved word in strict mode\r\n\r\nIt's starting to weird me out. =P"}}