aboutsummaryrefslogtreecommitdiff
path: root/web/.jshintrc
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-12 13:27:50 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-12 13:27:50 +0500
commiteea84149b22ed25fa530bbb4159683f802c4dee1 (patch)
tree539dad286bdb2f41a4d5b0998d6922ad26dd1d9e /web/.jshintrc
parentd0d156b42eeba86d6a043be051470f05cd022919 (diff)
downloadetbsa-traccar-web-eea84149b22ed25fa530bbb4159683f802c4dee1.tar.gz
etbsa-traccar-web-eea84149b22ed25fa530bbb4159683f802c4dee1.tar.bz2
etbsa-traccar-web-eea84149b22ed25fa530bbb4159683f802c4dee1.zip
Do not require Dot Notation
Diffstat (limited to 'web/.jshintrc')
-rw-r--r--web/.jshintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/.jshintrc b/web/.jshintrc
index b0c5d10..cc0cdd4 100644
--- a/web/.jshintrc
+++ b/web/.jshintrc
@@ -55,7 +55,7 @@
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
- "sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
+ "sub" : true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function