Update JSHint config.
This commit is contained in:
parent
0b49cf0507
commit
220c0e18ca
10
.jshintrc
10
.jshintrc
@ -1,14 +1,14 @@
|
||||
{
|
||||
"curly": false,
|
||||
"boss": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"eqnull": true,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"node": true,
|
||||
"sub": true,
|
||||
"undef": true,
|
||||
"boss": true,
|
||||
"unused": "vars",
|
||||
"eqnull": true,
|
||||
"node": true
|
||||
"unused": "vars"
|
||||
}
|
||||
|
@ -128,7 +128,9 @@ module.exports = function(grunt) {
|
||||
var file = options.outfile;
|
||||
|
||||
if (options.host) {
|
||||
if (!(/\/$/).test(options.host)) options.host = options.host + '/';
|
||||
if (!(/\/$/).test(options.host)) {
|
||||
options.host = options.host + '/';
|
||||
}
|
||||
file = options.host + options.outfile;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user