CommonJS module env validation #77

wants to merge 4 commits into


None yet
2 participants

cadorn commented Sep 29, 2011

Would this patch be acceptable to validate scripts as CommonJS modules?

If not, I suppose you desire that:

  • Users pass in the CommonJS module globals via predef and
  • Users patch jslint.js if they wish to use it as a CommonJS module?

Given the number of CommonJS modules out there I think it make sense to support the CommonJS env natively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment