From 203539841d2fd3e9a296152f751d51d027e0c89e Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 6 Apr 2017 11:12:11 +0100 Subject: [PATCH] allow shadowing in .jshintrc (mainly to test signing commits) --- .jshintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.jshintrc b/.jshintrc index f03a6dc8f..dd9251def 100644 --- a/.jshintrc +++ b/.jshintrc @@ -12,6 +12,7 @@ //"unused": true, // Check for unused functions and variables "loopfunc": true, // allow functions to be defined in loops //"expr": true, // allow ternery operator syntax... + "shadow": true, // allow variable shadowing (re-use of names...) "sub": true, // don't warn that foo['bar'] should be written as foo.bar "proto": true // allow setting of __proto__ in node < v0.12 }