Browse Source

Relax "newcap" requirement on jshint

patch-2
Esteban Ordano 10 years ago
parent
commit
8cc41c5d88
  1. 2
      .jshintrc

2
.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.

Loading…
Cancel
Save