Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommonJS module env validation #77

Closed
wants to merge 4 commits into from
Closed

Conversation

cadorn
Copy link

@cadorn 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants