Skip to content

Commit 9873f21

Browse files
committed
Add JSON to the global variables
According to the Wiki only Rhino and Node.js are supported CLI interfaces, and both have support for a native JSON object. There seems to be some work to support WSH as well, which has a JSON object as of version 5.8. WSH 5.8 is used in Windows 7 and onwards, but this may cause issues still.
1 parent c215bc4 commit 9873f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.jshintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"undef": true,
1717
"unused": true,
1818
"globals": {
19-
"CSSLint": true
19+
"CSSLint": true,
20+
"JSON": true
2021
}
2122
}

0 commit comments

Comments
 (0)