{"action":"created","comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/comments/37140798","id":37140798,"diff_hunk":"@@ -67,4 +67,12 @@ describe('rules/disallow-quoted-keys-in-objects', function() {\n \n         assert(checker.checkString('var x = { \"null\": 1, undefined: \"foo\" }').isEmpty());\n     });\n+\n+    it('should report non-reserved quoted keys when \"allButReserved\" mode is used. #1669', function() {","path":"test/specs/rules/disallow-quoted-keys-in-objects.js","position":5,"original_position":5,"commit_id":"cdc073f9bb752c7ac495d20dcace66105ee1d556","original_commit_id":"cdc073f9bb752c7ac495d20dcace66105ee1d556","user":{"login":"markelog","id":945528,"avatar_url":"https://avatars.githubusercontent.com/u/945528?v=3","gravatar_id":"","url":"https://api.github.com/users/markelog","html_url":"https://github.com/markelog","followers_url":"https://api.github.com/users/markelog/followers","following_url":"https://api.github.com/users/markelog/following{/other_user}","gists_url":"https://api.github.com/users/markelog/gists{/gist_id}","starred_url":"https://api.github.com/users/markelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markelog/subscriptions","organizations_url":"https://api.github.com/users/markelog/orgs","repos_url":"https://api.github.com/users/markelog/repos","events_url":"https://api.github.com/users/markelog/events{/privacy}","received_events_url":"https://api.github.com/users/markelog/received_events","type":"User","site_admin":false},"body":"We have some tests for this option now, i think it would be logical to move it into its own `describe`  and move\r\n```js\r\nchecker = new Checker();\r\nchecker.registerDefaultRules();\r\nchecker.configure({ disallowQuotedKeysInObjects: 'allButReserved' });\r\n```\r\nbit there too","created_at":"2015-08-16T00:34:20Z","updated_at":"2015-08-16T00:34:20Z","html_url":"https://github.com/jscs-dev/node-jscs/pull/1683#discussion_r37140798","pull_request_url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683","_links":{"self":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/comments/37140798"},"html":{"href":"https://github.com/jscs-dev/node-jscs/pull/1683#discussion_r37140798"},"pull_request":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683"}}},"pull_request":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683","id":42528220,"html_url":"https://github.com/jscs-dev/node-jscs/pull/1683","diff_url":"https://github.com/jscs-dev/node-jscs/pull/1683.diff","patch_url":"https://github.com/jscs-dev/node-jscs/pull/1683.patch","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1683","number":1683,"state":"open","locked":false,"title":"disallowQuotedKeysInObjects: fix allowing quoted non-reserved keys","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"body":"Fixes #1669 \r\n\r\n/cc @fubu @markelog @hzoo ","created_at":"2015-08-16T00:22:46Z","updated_at":"2015-08-16T00:34:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e79c6781443febbfc18ab1c23984691d03f4a9c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683/commits","review_comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683/comments","review_comment_url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1683/comments","statuses_url":"https://api.github.com/repos/jscs-dev/node-jscs/statuses/cdc073f9bb752c7ac495d20dcace66105ee1d556","head":{"label":"zxqfox:issues/1669","ref":"issues/1669","sha":"cdc073f9bb752c7ac495d20dcace66105ee1d556","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"repo":{"id":14476793,"name":"node-jscs","full_name":"zxqfox/node-jscs","owner":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zxqfox/node-jscs","description":"JavaScript Code Style checker","fork":true,"url":"https://api.github.com/repos/zxqfox/node-jscs","forks_url":"https://api.github.com/repos/zxqfox/node-jscs/forks","keys_url":"https://api.github.com/repos/zxqfox/node-jscs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zxqfox/node-jscs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zxqfox/node-jscs/teams","hooks_url":"https://api.github.com/repos/zxqfox/node-jscs/hooks","issue_events_url":"https://api.github.com/repos/zxqfox/node-jscs/issues/events{/number}","events_url":"https://api.github.com/repos/zxqfox/node-jscs/events","assignees_url":"https://api.github.com/repos/zxqfox/node-jscs/assignees{/user}","branches_url":"https://api.github.com/repos/zxqfox/node-jscs/branches{/branch}","tags_url":"https://api.github.com/repos/zxqfox/node-jscs/tags","blobs_url":"https://api.github.com/repos/zxqfox/node-jscs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zxqfox/node-jscs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zxqfox/node-jscs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zxqfox/node-jscs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zxqfox/node-jscs/statuses/{sha}","languages_url":"https://api.github.com/repos/zxqfox/node-jscs/languages","stargazers_url":"https://api.github.com/repos/zxqfox/node-jscs/stargazers","contributors_url":"https://api.github.com/repos/zxqfox/node-jscs/contributors","subscribers_url":"https://api.github.com/repos/zxqfox/node-jscs/subscribers","subscription_url":"https://api.github.com/repos/zxqfox/node-jscs/subscription","commits_url":"https://api.github.com/repos/zxqfox/node-jscs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zxqfox/node-jscs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zxqfox/node-jscs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zxqfox/node-jscs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zxqfox/node-jscs/contents/{+path}","compare_url":"https://api.github.com/repos/zxqfox/node-jscs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zxqfox/node-jscs/merges","archive_url":"https://api.github.com/repos/zxqfox/node-jscs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zxqfox/node-jscs/downloads","issues_url":"https://api.github.com/repos/zxqfox/node-jscs/issues{/number}","pulls_url":"https://api.github.com/repos/zxqfox/node-jscs/pulls{/number}","milestones_url":"https://api.github.com/repos/zxqfox/node-jscs/milestones{/number}","notifications_url":"https://api.github.com/repos/zxqfox/node-jscs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zxqfox/node-jscs/labels{/name}","releases_url":"https://api.github.com/repos/zxqfox/node-jscs/releases{/id}","created_at":"2013-11-17T22:37:17Z","updated_at":"2015-02-21T23:27:43Z","pushed_at":"2015-08-16T00:22:09Z","git_url":"git://github.com/zxqfox/node-jscs.git","ssh_url":"git@github.com:zxqfox/node-jscs.git","clone_url":"https://github.com/zxqfox/node-jscs.git","svn_url":"https://github.com/zxqfox/node-jscs","homepage":"","size":3311,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jscs-dev:master","ref":"master","sha":"c9a239d54221d61b16d86bdeef91c37e5bf4e848","user":{"login":"jscs-dev","id":8018201,"avatar_url":"https://avatars.githubusercontent.com/u/8018201?v=3","gravatar_id":"","url":"https://api.github.com/users/jscs-dev","html_url":"https://github.com/jscs-dev","followers_url":"https://api.github.com/users/jscs-dev/followers","following_url":"https://api.github.com/users/jscs-dev/following{/other_user}","gists_url":"https://api.github.com/users/jscs-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jscs-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscs-dev/subscriptions","organizations_url":"https://api.github.com/users/jscs-dev/orgs","repos_url":"https://api.github.com/users/jscs-dev/repos","events_url":"https://api.github.com/users/jscs-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jscs-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":10697582,"name":"node-jscs","full_name":"jscs-dev/node-jscs","owner":{"login":"jscs-dev","id":8018201,"avatar_url":"https://avatars.githubusercontent.com/u/8018201?v=3","gravatar_id":"","url":"https://api.github.com/users/jscs-dev","html_url":"https://github.com/jscs-dev","followers_url":"https://api.github.com/users/jscs-dev/followers","following_url":"https://api.github.com/users/jscs-dev/following{/other_user}","gists_url":"https://api.github.com/users/jscs-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jscs-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscs-dev/subscriptions","organizations_url":"https://api.github.com/users/jscs-dev/orgs","repos_url":"https://api.github.com/users/jscs-dev/repos","events_url":"https://api.github.com/users/jscs-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jscs-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jscs-dev/node-jscs","description":"JavaScript Code Style checker","fork":false,"url":"https://api.github.com/repos/jscs-dev/node-jscs","forks_url":"https://api.github.com/repos/jscs-dev/node-jscs/forks","keys_url":"https://api.github.com/repos/jscs-dev/node-jscs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jscs-dev/node-jscs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jscs-dev/node-jscs/teams","hooks_url":"https://api.github.com/repos/jscs-dev/node-jscs/hooks","issue_events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/events{/number}","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/events","assignees_url":"https://api.github.com/repos/jscs-dev/node-jscs/assignees{/user}","branches_url":"https://api.github.com/repos/jscs-dev/node-jscs/branches{/branch}","tags_url":"https://api.github.com/repos/jscs-dev/node-jscs/tags","blobs_url":"https://api.github.com/repos/jscs-dev/node-jscs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jscs-dev/node-jscs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jscs-dev/node-jscs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jscs-dev/node-jscs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jscs-dev/node-jscs/statuses/{sha}","languages_url":"https://api.github.com/repos/jscs-dev/node-jscs/languages","stargazers_url":"https://api.github.com/repos/jscs-dev/node-jscs/stargazers","contributors_url":"https://api.github.com/repos/jscs-dev/node-jscs/contributors","subscribers_url":"https://api.github.com/repos/jscs-dev/node-jscs/subscribers","subscription_url":"https://api.github.com/repos/jscs-dev/node-jscs/subscription","commits_url":"https://api.github.com/repos/jscs-dev/node-jscs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jscs-dev/node-jscs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jscs-dev/node-jscs/contents/{+path}","compare_url":"https://api.github.com/repos/jscs-dev/node-jscs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jscs-dev/node-jscs/merges","archive_url":"https://api.github.com/repos/jscs-dev/node-jscs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jscs-dev/node-jscs/downloads","issues_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues{/number}","pulls_url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls{/number}","milestones_url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones{/number}","notifications_url":"https://api.github.com/repos/jscs-dev/node-jscs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/labels{/name}","releases_url":"https://api.github.com/repos/jscs-dev/node-jscs/releases{/id}","created_at":"2013-06-14T20:53:48Z","updated_at":"2015-08-15T23:01:26Z","pushed_at":"2015-08-16T00:22:46Z","git_url":"git://github.com/jscs-dev/node-jscs.git","ssh_url":"git@github.com:jscs-dev/node-jscs.git","clone_url":"https://github.com/jscs-dev/node-jscs.git","svn_url":"https://github.com/jscs-dev/node-jscs","homepage":"http://jscs.info/","size":12918,"stargazers_count":3968,"watchers_count":3968,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":400,"mirror_url":null,"open_issues_count":186,"forks":400,"open_issues":186,"watchers":3968,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683"},"html":{"href":"https://github.com/jscs-dev/node-jscs/pull/1683"},"issue":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1683"},"comments":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1683/comments"},"review_comments":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683/comments"},"review_comment":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1683/commits"},"statuses":{"href":"https://api.github.com/repos/jscs-dev/node-jscs/statuses/cdc073f9bb752c7ac495d20dcace66105ee1d556"}}}}