{"comment":{"created_at":"2011-10-17T20:04:59Z","body":"Yes, but this case should be an exception.  I fully agree with your logic that leading underscores are \"bad\" in that they try to imply private-ness where it doesn't actually exist.  So I'd like to leave the option on to flag those.\r\n\r\nHowever, node itself includes `__dirname` for better or worse.  `__dirname` should be allowed with the `node` option.  `__foo` shouldn't.","updated_at":"2011-10-17T20:04:59Z","url":"https://api.github.com/repos/douglascrockford/JSLint/issues/comments/2434024","id":2434024,"user":{"gravatar_id":"14489b0d06bc238adcbbfbc20c6407de","avatar_url":"https://secure.gravatar.com/avatar/14489b0d06bc238adcbbfbc20c6407de?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cwolves","id":320562,"login":"cwolves"}},"action":"created","issue":{"number":39,"created_at":"2011-05-07T09:34:09Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Using `node: true` continues not accepting `__dirname` while `Disallow dangling _ in identifiers` is checked    \n\n``` javascript\n/*jslint devel: true, node: true, nomen: true, maxerr: 50, indent: 4 */\n\nconsole.log(__dirname);\n```\n\n> Error: \nProblem at line 1 character 13: Unexpected dangling '_' in '__dirname'.\nconsole.log(__dirname);\n  \n\n_source_: [jslint.com](http://jslint.com) live editor","comments":9,"title":"using node:true continues not accepting __dirname","updated_at":"2011-10-17T20:04:59Z","url":"https://api.github.com/repos/douglascrockford/JSLint/issues/39","id":862110,"assignee":null,"milestone":null,"closed_at":"2011-05-07T12:57:53Z","user":{"gravatar_id":"6c4bdf7fee3515393d4747cad610224e","avatar_url":"https://secure.gravatar.com/avatar/6c4bdf7fee3515393d4747cad610224e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/ludicco","id":32017,"login":"ludicco"},"html_url":"https://github.com/douglascrockford/JSLint/issues/39","labels":[],"state":"closed"},"legacy":{"issue_id":862110,"comment_id":2434024}}