Add TODO notes for #2
This commit is contained in:
Родитель
3dd637965a
Коммит
2681d9d444
|
@ -27,12 +27,16 @@ module.exports = function(gulp) {
|
|||
// JS Style checks (https://github.com/jscs-dev/node-jscs#readme)
|
||||
gulp.task('jscs', function() {
|
||||
return gulp.src(sourceFiles)
|
||||
// TODO: Scan for a local .jshintrc first before using our stock one.
|
||||
// See https://github.com/mozilla/node-firefox-build-tools/issues/2
|
||||
.pipe(jscs({ configPath: path.join(__dirname, '../', '.jscsrc') }));
|
||||
});
|
||||
|
||||
// Lint JavaScript (http://jshint.com/docs/)
|
||||
gulp.task('jshint', function() {
|
||||
return gulp.src(sourceFiles)
|
||||
// TODO: Scan for a local .jshintrc first before using our stock one.
|
||||
// See https://github.com/mozilla/node-firefox-build-tools/issues/2
|
||||
.pipe(jshint(path.join(__dirname, '../', '.jshintrc')))
|
||||
.pipe(jshint.reporter('jshint-stylish'))
|
||||
// Task should fail if JSHint finds errors.
|
||||
|
|
Загрузка…
Ссылка в новой задаче