aboutsummaryrefslogtreecommitdiffstats
path: root/src/.jshintrc
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-10-18 00:50:01 -0400
committerjaubourg <j@ubourg.net>2012-10-18 00:50:01 -0400
commit9346c0ef9938b44f3711d588ebdb6800bc077d8f (patch)
tree91b867925bb6c88fd1f309907ad20dd8081e2035 /src/.jshintrc
parentee9687d441d625a420dc65590bbd0b930f800b3f (diff)
downloadjquery-9346c0ef9938b44f3711d588ebdb6800bc077d8f.tar.gz
jquery-9346c0ef9938b44f3711d588ebdb6800bc077d8f.zip
adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" `this` trickery in effects is silenced.
Diffstat (limited to 'src/.jshintrc')
-rw-r--r--src/.jshintrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index d74bf14fd..bc4ae7750 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -6,8 +6,10 @@
"evil": true,
"expr": true,
"maxerr": 100,
+ "newcap": false,
"quotmark": "double",
"smarttabs": true,
+ "strict": true,
"sub": true,
"trailing": true,
"undef": true,