{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments/32189499","id":32189499,"diff_hunk":"@@ -6,14 +6,14 @@\n // option 'csp.enabled' is set (default true in development), with a special\n // exception for the /tests/index.html path, which are the frontend unit\n // tests.\n-\n 'use strict';\n \n var helmet = require('helmet');\n var config = require('./configuration');\n var url = require('url');\n-\n+/*eslint-disable */\n var SELF = \"'self'\"; //jshint ignore: line\n+/*eslint-enable */","path":"server/lib/csp.js","position":13,"original_position":13,"commit_id":"72c4463341428bb8112cceca5e8c063ac5c1bb0c","original_commit_id":"72c4463341428bb8112cceca5e8c063ac5c1bb0c","user":{"login":"TDA","id":432707,"avatar_url":"https://avatars.githubusercontent.com/u/432707?v=3","gravatar_id":"","url":"https://api.github.com/users/TDA","html_url":"https://github.com/TDA","followers_url":"https://api.github.com/users/TDA/followers","following_url":"https://api.github.com/users/TDA/following{/other_user}","gists_url":"https://api.github.com/users/TDA/gists{/gist_id}","starred_url":"https://api.github.com/users/TDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDA/subscriptions","organizations_url":"https://api.github.com/users/TDA/orgs","repos_url":"https://api.github.com/users/TDA/repos","events_url":"https://api.github.com/users/TDA/events{/privacy}","received_events_url":"https://api.github.com/users/TDA/received_events","type":"User","site_admin":false},"body":"Will do :) Didn't know about that, thanks!","created_at":"2015-06-11T04:41:05Z","updated_at":"2015-06-11T04:41:05Z","html_url":"https://github.com/mozilla/fxa-content-server/pull/2578#discussion_r32189499","pull_request_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578","_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments/32189499"},"html":{"href":"https://github.com/mozilla/fxa-content-server/pull/2578#discussion_r32189499"},"pull_request":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578","id":37411525,"html_url":"https://github.com/mozilla/fxa-content-server/pull/2578","diff_url":"https://github.com/mozilla/fxa-content-server/pull/2578.diff","patch_url":"https://github.com/mozilla/fxa-content-server/pull/2578.patch","issue_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2578","number":2578,"state":"open","locked":false,"title":"chore(lint): switch from JSHint to ESLint","user":{"login":"TDA","id":432707,"avatar_url":"https://avatars.githubusercontent.com/u/432707?v=3","gravatar_id":"","url":"https://api.github.com/users/TDA","html_url":"https://github.com/TDA","followers_url":"https://api.github.com/users/TDA/followers","following_url":"https://api.github.com/users/TDA/following{/other_user}","gists_url":"https://api.github.com/users/TDA/gists{/gist_id}","starred_url":"https://api.github.com/users/TDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDA/subscriptions","organizations_url":"https://api.github.com/users/TDA/orgs","repos_url":"https://api.github.com/users/TDA/repos","events_url":"https://api.github.com/users/TDA/events{/privacy}","received_events_url":"https://api.github.com/users/TDA/received_events","type":"User","site_admin":false},"body":"Fixes #2550\r\nSwitch from JSHint to ESLint\r\nAlso have JSHint in parallel\r\nReferences #2558, runs into same problem\r\n@zaach ","created_at":"2015-06-10T22:25:36Z","updated_at":"2015-06-11T04:41:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21b1dafbe50b98065a8d13ef5a3d4bf2c320233a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578/commits","review_comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578/comments","review_comment_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2578/comments","statuses_url":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/72c4463341428bb8112cceca5e8c063ac5c1bb0c","head":{"label":"TDA:issue-2550-switch-to-ESLint","ref":"issue-2550-switch-to-ESLint","sha":"72c4463341428bb8112cceca5e8c063ac5c1bb0c","user":{"login":"TDA","id":432707,"avatar_url":"https://avatars.githubusercontent.com/u/432707?v=3","gravatar_id":"","url":"https://api.github.com/users/TDA","html_url":"https://github.com/TDA","followers_url":"https://api.github.com/users/TDA/followers","following_url":"https://api.github.com/users/TDA/following{/other_user}","gists_url":"https://api.github.com/users/TDA/gists{/gist_id}","starred_url":"https://api.github.com/users/TDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDA/subscriptions","organizations_url":"https://api.github.com/users/TDA/orgs","repos_url":"https://api.github.com/users/TDA/repos","events_url":"https://api.github.com/users/TDA/events{/privacy}","received_events_url":"https://api.github.com/users/TDA/received_events","type":"User","site_admin":false},"repo":{"id":36767755,"name":"fxa-content-server","full_name":"TDA/fxa-content-server","owner":{"login":"TDA","id":432707,"avatar_url":"https://avatars.githubusercontent.com/u/432707?v=3","gravatar_id":"","url":"https://api.github.com/users/TDA","html_url":"https://github.com/TDA","followers_url":"https://api.github.com/users/TDA/followers","following_url":"https://api.github.com/users/TDA/following{/other_user}","gists_url":"https://api.github.com/users/TDA/gists{/gist_id}","starred_url":"https://api.github.com/users/TDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDA/subscriptions","organizations_url":"https://api.github.com/users/TDA/orgs","repos_url":"https://api.github.com/users/TDA/repos","events_url":"https://api.github.com/users/TDA/events{/privacy}","received_events_url":"https://api.github.com/users/TDA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TDA/fxa-content-server","description":"Firefox Accounts Content Server","fork":true,"url":"https://api.github.com/repos/TDA/fxa-content-server","forks_url":"https://api.github.com/repos/TDA/fxa-content-server/forks","keys_url":"https://api.github.com/repos/TDA/fxa-content-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TDA/fxa-content-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TDA/fxa-content-server/teams","hooks_url":"https://api.github.com/repos/TDA/fxa-content-server/hooks","issue_events_url":"https://api.github.com/repos/TDA/fxa-content-server/issues/events{/number}","events_url":"https://api.github.com/repos/TDA/fxa-content-server/events","assignees_url":"https://api.github.com/repos/TDA/fxa-content-server/assignees{/user}","branches_url":"https://api.github.com/repos/TDA/fxa-content-server/branches{/branch}","tags_url":"https://api.github.com/repos/TDA/fxa-content-server/tags","blobs_url":"https://api.github.com/repos/TDA/fxa-content-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TDA/fxa-content-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TDA/fxa-content-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/TDA/fxa-content-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TDA/fxa-content-server/statuses/{sha}","languages_url":"https://api.github.com/repos/TDA/fxa-content-server/languages","stargazers_url":"https://api.github.com/repos/TDA/fxa-content-server/stargazers","contributors_url":"https://api.github.com/repos/TDA/fxa-content-server/contributors","subscribers_url":"https://api.github.com/repos/TDA/fxa-content-server/subscribers","subscription_url":"https://api.github.com/repos/TDA/fxa-content-server/subscription","commits_url":"https://api.github.com/repos/TDA/fxa-content-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/TDA/fxa-content-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/TDA/fxa-content-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/TDA/fxa-content-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/TDA/fxa-content-server/contents/{+path}","compare_url":"https://api.github.com/repos/TDA/fxa-content-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TDA/fxa-content-server/merges","archive_url":"https://api.github.com/repos/TDA/fxa-content-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TDA/fxa-content-server/downloads","issues_url":"https://api.github.com/repos/TDA/fxa-content-server/issues{/number}","pulls_url":"https://api.github.com/repos/TDA/fxa-content-server/pulls{/number}","milestones_url":"https://api.github.com/repos/TDA/fxa-content-server/milestones{/number}","notifications_url":"https://api.github.com/repos/TDA/fxa-content-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TDA/fxa-content-server/labels{/name}","releases_url":"https://api.github.com/repos/TDA/fxa-content-server/releases{/id}","created_at":"2015-06-02T23:27:37Z","updated_at":"2015-06-02T23:27:39Z","pushed_at":"2015-06-10T23:39:56Z","git_url":"git://github.com/TDA/fxa-content-server.git","ssh_url":"git@github.com:TDA/fxa-content-server.git","clone_url":"https://github.com/TDA/fxa-content-server.git","svn_url":"https://github.com/TDA/fxa-content-server","homepage":"","size":8036,"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":"mozilla:master","ref":"master","sha":"521d0f62b71e2236b3ea5beb0bd9769e5ec45b3e","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":11778024,"name":"fxa-content-server","full_name":"mozilla/fxa-content-server","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/fxa-content-server","description":"Firefox Accounts Content Server","fork":false,"url":"https://api.github.com/repos/mozilla/fxa-content-server","forks_url":"https://api.github.com/repos/mozilla/fxa-content-server/forks","keys_url":"https://api.github.com/repos/mozilla/fxa-content-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/fxa-content-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/fxa-content-server/teams","hooks_url":"https://api.github.com/repos/mozilla/fxa-content-server/hooks","issue_events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/events","assignees_url":"https://api.github.com/repos/mozilla/fxa-content-server/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/fxa-content-server/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/fxa-content-server/tags","blobs_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/fxa-content-server/languages","stargazers_url":"https://api.github.com/repos/mozilla/fxa-content-server/stargazers","contributors_url":"https://api.github.com/repos/mozilla/fxa-content-server/contributors","subscribers_url":"https://api.github.com/repos/mozilla/fxa-content-server/subscribers","subscription_url":"https://api.github.com/repos/mozilla/fxa-content-server/subscription","commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/fxa-content-server/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/fxa-content-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/fxa-content-server/merges","archive_url":"https://api.github.com/repos/mozilla/fxa-content-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/fxa-content-server/downloads","issues_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/fxa-content-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/fxa-content-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/fxa-content-server/releases{/id}","created_at":"2013-07-30T23:35:35Z","updated_at":"2015-06-07T20:22:22Z","pushed_at":"2015-06-11T01:26:33Z","git_url":"git://github.com/mozilla/fxa-content-server.git","ssh_url":"git@github.com:mozilla/fxa-content-server.git","clone_url":"https://github.com/mozilla/fxa-content-server.git","svn_url":"https://github.com/mozilla/fxa-content-server","homepage":"","size":23691,"stargazers_count":66,"watchers_count":66,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":226,"forks":43,"open_issues":226,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578"},"html":{"href":"https://github.com/mozilla/fxa-content-server/pull/2578"},"issue":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2578"},"comments":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2578/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/2578/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/72c4463341428bb8112cceca5e8c063ac5c1bb0c"}}}}