{"action":"created","issue":{"url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/58","labels_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/58/comments","events_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/58/events","html_url":"https://github.com/ricardofbarros/linter-js-standard/issues/58","id":110665707,"number":58,"title":"ignored globals in package.json","user":{"login":"nikmartin","id":1226452,"avatar_url":"https://avatars.githubusercontent.com/u/1226452?v=3","gravatar_id":"","url":"https://api.github.com/users/nikmartin","html_url":"https://github.com/nikmartin","followers_url":"https://api.github.com/users/nikmartin/followers","following_url":"https://api.github.com/users/nikmartin/following{/other_user}","gists_url":"https://api.github.com/users/nikmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/nikmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikmartin/subscriptions","organizations_url":"https://api.github.com/users/nikmartin/orgs","repos_url":"https://api.github.com/users/nikmartin/repos","events_url":"https://api.github.com/users/nikmartin/events{/privacy}","received_events_url":"https://api.github.com/users/nikmartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T14:05:21Z","updated_at":"2015-10-13T13:02:59Z","closed_at":null,"body":"I added this to the package.json file in the root of my node.js app:\r\n```\r\n  \"semistandard\": {\r\n    \"global\": [ \"__base\" ]\r\n  }\r\n```\r\nand in hundreds of files in the project, I have this:\r\n```\r\nvar util = require(__base + '/models/schemas/util');\r\n```\r\n\r\nBut still continually get this message:\r\n![screenshot from 2015-10-09 09-03-47](https://cloud.githubusercontent.com/assets/1226452/10395858/d1c5b8a0-6e64-11e5-8ca8-2d3a4249cd80.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/comments/147708086","html_url":"https://github.com/ricardofbarros/linter-js-standard/issues/58#issuecomment-147708086","issue_url":"https://api.github.com/repos/ricardofbarros/linter-js-standard/issues/58","id":147708086,"user":{"login":"nikmartin","id":1226452,"avatar_url":"https://avatars.githubusercontent.com/u/1226452?v=3","gravatar_id":"","url":"https://api.github.com/users/nikmartin","html_url":"https://github.com/nikmartin","followers_url":"https://api.github.com/users/nikmartin/followers","following_url":"https://api.github.com/users/nikmartin/following{/other_user}","gists_url":"https://api.github.com/users/nikmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/nikmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikmartin/subscriptions","organizations_url":"https://api.github.com/users/nikmartin/orgs","repos_url":"https://api.github.com/users/nikmartin/repos","events_url":"https://api.github.com/users/nikmartin/events{/privacy}","received_events_url":"https://api.github.com/users/nikmartin/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T13:02:59Z","updated_at":"2015-10-13T13:02:59Z","body":"Also, That didn't have any effect:\r\n```\r\n\"semistandard\": {\r\n    \"globals\": [\r\n      \"__base\"\r\n    ]\r\n  }\r\n```\r\n![screenshot from 2015-10-13 08-01-19](https://cloud.githubusercontent.com/assets/1226452/10455420/cc346f5c-7180-11e5-823b-6d28615de9e3.png)\r\n"}}