Tag: browserify jshint

browserified文件预计不会通过jshintvalidation?

考虑以下: $ cat example.js function f () { return 1; } exports.F = f; $ browserify example.js > exampleBundle.js $ jshint –verbose example.js $ jshint –verbose exampleBundle.js exampleBundle.js: line 1, col 187, Missing semicolon. (W033) exampleBundle.js: line 1, col 279, Missing semicolon. (W033) exampleBundle.js: line 1, col 301, Missing semicolon. (W033) exampleBundle.js: line 1, col […]