[gnome-maps/wip/refactor2: 2/7] JSHint: Allow multi line strings
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/refactor2: 2/7] JSHint: Allow multi line strings
- Date: Mon, 13 Oct 2014 19:36:24 +0000 (UTC)
commit f47657e7a3c65be9c36b79db7fc5e14117b65ef0
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Mon Oct 13 19:23:05 2014 +0200
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.
.jshintrc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/.jshintrc b/.jshintrc
index cd6c8cf..1d485d9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]