]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
get jshint close to passing by updating .jshintrc settings 8696/head
authorChris Rebert <code@rebertia.com>
Sun, 28 Jul 2013 04:56:44 +0000 (21:56 -0700)
committerChris Rebert <code@rebertia.com>
Sun, 28 Jul 2013 04:56:44 +0000 (21:56 -0700)
I don't agree with these personally, but they jive with BS/@fat's JS code style.
The remaining jshint complaints are things that really actually should get fixed.

js/.jshintrc

index 70e6c579237379cb6fc3ae65c0e172005470110f..94c520d5cf27d2bcbc7cc5e36811de132a6395e4 100644 (file)
@@ -3,9 +3,11 @@
   "laxcomma" : true,
   "laxbreak" : true,
   "browser"  : true,
+  "eqeqeq"   : false,
   "eqnull"   : true,
   "debug"    : true,
   "devel"    : true,
+  "curly"    : false,
   "boss"     : true,
   "expr"     : true,
   "asi"      : true