{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/220","labels_url":"https://api.github.com/repos/babel/babel-eslint/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/220/comments","events_url":"https://api.github.com/repos/babel/babel-eslint/issues/220/events","html_url":"https://github.com/babel/babel-eslint/issues/220","id":120309372,"number":220,"title":"getter and setter in same object cause \"no-dupe-keys\"","user":{"login":"psiphi75","id":2125796,"avatar_url":"https://avatars.githubusercontent.com/u/2125796?v=3","gravatar_id":"","url":"https://api.github.com/users/psiphi75","html_url":"https://github.com/psiphi75","followers_url":"https://api.github.com/users/psiphi75/followers","following_url":"https://api.github.com/users/psiphi75/following{/other_user}","gists_url":"https://api.github.com/users/psiphi75/gists{/gist_id}","starred_url":"https://api.github.com/users/psiphi75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiphi75/subscriptions","organizations_url":"https://api.github.com/users/psiphi75/orgs","repos_url":"https://api.github.com/users/psiphi75/repos","events_url":"https://api.github.com/users/psiphi75/events{/privacy}","received_events_url":"https://api.github.com/users/psiphi75/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-04T01:05:53Z","updated_at":"2015-12-04T01:15:05Z","closed_at":null,"body":"I am running eslint 1.10.3 and babel-eslint 5.0.0-beta4.  When I run eslint on the code below (see config below that) it causes a `no-dupe-keys` error.  I don't expect any errors in this code, you should be able to have getters and setters.  I have tried this through the standard eslint parser and it does not have any issues.  I only get this error with babel-eslint.\r\n\r\ntest.js:\r\n```javascript\r\n'use strict';\r\nvar B = {\r\n    get x () {\r\n        return this.ecks;\r\n    },\r\n    set x (ecks) {\r\n        this.ecks = ecks;\r\n    }\r\n};\r\nB.x = 1;\r\n```\r\n\r\neslint output:\r\n\r\n    /home/me/test.js\r\n      9:5  error  Duplicate key 'x'  no-dupe-keys\r\n    \r\n    ✖ 1 problem (1 error, 0 warnings)\r\n\r\n\r\nBelow is my `.eslintrc` configuration:\r\n\r\n```javascript\r\n    {\r\n      \"parser\": \"babel-eslint\",\r\n      \"rules\": {\r\n        \"no-dupe-keys\": [2],\r\n      }\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/comments/161843332","html_url":"https://github.com/babel/babel-eslint/issues/220#issuecomment-161843332","issue_url":"https://api.github.com/repos/babel/babel-eslint/issues/220","id":161843332,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T01:15:05Z","updated_at":"2015-12-04T01:15:05Z","body":"Thanks - getters/setters aren't working. It's a known issue - similar to https://github.com/babel/babel-eslint/issues/218.\r\n\r\nAlso https://github.com/babel/babel-eslint/issues/199#issuecomment-161004937"}}