Re: [jslint] option.node
--- In firstname.lastname@example.org, "Douglas Crockford" <douglas@...> wrote:
> The node.js documentation is still a bit sketchy, so it is hard to find all of the globals. Please let me know if you find more.
I would check "__dirname".
For instance, assuming Node.js and Good Parts options:
var myDir = __dirname;
It is displayed "Unexpected dangling '_' in '__dirname'."
I would add "exports" and "require" in the globals.
Thanks in advance,
- The `node` option should also list `exports` as a global.
I just sent a pull request to node on the documentation.
[Non-text portions of this message have been removed]
- --- In email@example.com, AJ ONeal <coolaj86@...> wrote:
>Thanks. Please try it now.
> The `node` option should also list `exports` as a global.