summaryrefslogtreecommitdiff
path: root/.jshintrc
diff options
context:
space:
mode:
authorMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2014-10-13 19:23:05 +0200
committerMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2014-10-16 07:29:38 +0200
commit57369a3476ef7bcd1485d1f5c1b07cf3717ec7af (patch)
tree37a769090e636f9a3fb2000cb7b9ceab04df215c /.jshintrc
parent18aca413bcb0b8617b0de9238caf39789a9604f8 (diff)
downloadgnome-maps-57369a3476ef7bcd1485d1f5c1b07cf3717ec7af.tar.gz
JSHint: Allow multi line strings
JSHint defaults to not allow multi line strings, probably because of buggy browser implementations. This shouldn't affect us, and is handy when doing dbus calls so allow this. https://bugzilla.gnome.org/show_bug.cgi?id=699967
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.jshintrc b/.jshintrc
index cd6c8cf9..1d485d9c 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -47,7 +47,7 @@
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
- "multistr" : false, // true: Tolerate multi-line strings
+ "multistr" : true, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment