Skip to content

Commit 54290e4

Browse files
committed
Updated jshint configuration
1 parent 1256531 commit 54290e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.jshintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
1818
"noempty": true, // true: Prohibit use of empty blocks
1919
"nonbsp": true, // true: Prohibit "non-breaking whitespace" characters.
20-
"nonew": false, // true: Prohibit use of constructors for side-effects (without assignment)
20+
"nonew": true, // true: Prohibit use of constructors for side-effects (without assignment)
2121
"plusplus": false, // true: Prohibit use of `++` and `--`
2222
"quotmark": true, // Quotation mark consistency:
2323
// false : do nothing (default)
2424
// true : ensure whatever is used is consistent
2525
// "single" : require single quotes
2626
// "double" : require double quotes
2727
"undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
28-
"unused": true, // Unused variables:
28+
"unused": "true", // Unused variables:
2929
// true : all variables, last function parameter
3030
// "vars" : all variables only
3131
// "strict" : all variables, all function parameters

0 commit comments

Comments
 (0)