From 8cc41c5d8828852bc701cb3b2cdf2c1d7521a6b7 Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Fri, 19 Dec 2014 16:22:44 -0300 Subject: [PATCH] Relax "newcap" requirement on jshint --- .jshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index dbc5bcf..82597a3 100644 --- a/.jshintrc +++ b/.jshintrc @@ -10,7 +10,7 @@ "immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` "indent": 2, // Specify indentation spacing "latedef": true, // Prohibit variable use before definition. - "newcap": true, // Require capitalization of all constructor functions e.g. `new F()`. + "newcap": false, // Require capitalization of all constructor functions e.g. `new F()`. "noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`. "node": true, // Enable globals available when code is running inside of the NodeJS runtime environment. "noempty": true, // Prohibit use of empty blocks.