Skip to content
Browse files

add some commonjs predef variables for client.json too

  • Loading branch information...
1 parent 052259d commit e21d6c26abf417796b18590d2102624420a296ed @kof committed Jan 28, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 conf/client.json
  2. +1 −1 package.json
View
2 conf/client.json
@@ -43,7 +43,7 @@
// true if ++ and -- should not be allowed.
"plusplus": false,
// An array of strings, the names of predefined global variables, or an object whose keys are global variable names, and whose values are booleans that determine if each variable is assignable
- "predef": null,
+ "predef": ["global", "require", "module", "exports"],
// true if . and [^...] should not be allowed in RegExp literals. These forms should not be used when validating in secure applications.
"regexp": false,
// true if the Rhino environment globals should be predefined.
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "linter",
"description": "Code quality tools collection in one module",
- "version": "0.0.4",
+ "version": "0.0.5",
"author": "Oleg Slobodskoi <oleg008@gmail.com>",
"repository": {
"type": "git",

0 comments on commit e21d6c2

Please sign in to comment.
Something went wrong with that request. Please try again.