我的 jshint 代码是:
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
browser: true
},
globals: {
jQuery: true
}
},
我称之为:
grunt.registerTask('foo', 'lint');// For running in cmd you need grunt.cmd foo.
我该如何克服这个错误???