[gnome-maps] JSHint: Allow unsafe lineendings



commit be4e84df9c68d1cb3f0a5981f9ae12b0a6c69157
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Mon Oct 13 21:24:37 2014 +0200

    JSHint: Allow unsafe lineendings
    
    This is meant as a way to protect oneself from beeing bitten by
    JavaScripts Automatic Semicolon Insertion.
    
    Since this is already covered by the "asi" option in JSHint and it
    warns on existing code with operators first we'll relax this check.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699967

 .jshintrc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/.jshintrc b/.jshintrc
index 6d9b7cc..bb1cdff 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -44,7 +44,7 @@
     "globalstrict"  : false,     // true: Allow global "use strict" (also enables 'strict')
     "iterator"      : false,     // true: Tolerate using the `__iterator__` property
     "lastsemic"     : false,     // true: Tolerate omitting a semicolon for the last statement of a 1-line 
block
-    "laxbreak"      : false,     // true: Tolerate possibly unsafe line breakings
+    "laxbreak"      : true,      // true: Tolerate possibly unsafe line breakings
     "laxcomma"      : false,     // true: Tolerate comma-first style coding
     "loopfunc"      : false,     // true: Tolerate functions being defined in loops
     "multistr"      : true,      // true: Tolerate multi-line strings


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]