--- In firstname.lastname@example.org
, "Douglas Crockford" <douglas@...> wrote:
> When using the Assume node.js option, JSLint will now tolerate the file level use strict pragma.
Great. Thanks. Validated.
> I think you would be smarter to use the function use strict pragma.
In the context we (the op, me, and other nodeJS module coders) are using, the code is effectively wrapped/contained in an anonymous function, though not one that appears in the file. It would be functionally redundant to wrap the content of a CommonJS module file in yet another (anonymous, immediate) function.