Merge pull request #830 from eordano/review/newcap
Relax "newcap" requirement on jshint
This commit is contained in:
commit
5b2ba0971a
|
@ -10,7 +10,7 @@
|
||||||
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
|
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
|
||||||
"indent": 2, // Specify indentation spacing
|
"indent": 2, // Specify indentation spacing
|
||||||
"latedef": true, // Prohibit variable use before definition.
|
"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`.
|
"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.
|
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
|
||||||
"noempty": true, // Prohibit use of empty blocks.
|
"noempty": true, // Prohibit use of empty blocks.
|
||||||
|
|
Loading…
Reference in New Issue