From eea84149b22ed25fa530bbb4159683f802c4dee1 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 12 Jul 2017 13:27:50 +0500 Subject: Do not require Dot Notation --- web/.jshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/.jshintrc') 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 -- cgit v1.2.3