提交 e2b4e368 编写于 作者: D Daniel Imms

Fix lint errors in build/

上级 3f2ee3ab
......@@ -3,6 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/*global require,exports,__dirname,Buffer,setTimeout*/
var path = require('path');
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
......@@ -12,7 +14,6 @@ var uglify = require('gulp-uglify');
var es = require('event-stream');
var concat = require('gulp-concat');
var File = require('vinyl');
var underscore = require('underscore');
var bundle = require('./lib/bundle');
var util = require('./lib/util');
var root = path.dirname(__dirname);
......
......@@ -3,9 +3,10 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/*global require,__dirname*/
var gulp = require('gulp');
var path = require('path');
var rename = require('gulp-rename');
var filter = require('gulp-filter');
var _ = require('underscore');
var es = require('event-stream');
......
......@@ -3,6 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/*global process,require,__dirname*/
// Increase max listeners for event emitters
require('events').EventEmitter.defaultMaxListeners = 100;
......@@ -10,9 +12,7 @@ var gulp = require('gulp');
var path = require('path');
var tsb = require('gulp-tsb');
var es = require('event-stream');
var cp = require('child_process');
var filter = require('gulp-filter');
var rename = require('gulp-rename');
var rimraf = require('rimraf');
var util = require('./lib/util');
var watcher = require('./lib/watch');
......
......@@ -3,10 +3,11 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/*global process,require,console,exports,module*/
var gulp = require('gulp');
var filter = require('gulp-filter');
var es = require('event-stream');
var path = require('path');
var gulptslint = require('gulp-tslint');
var tslint = require('tslint');
......@@ -161,7 +162,7 @@ var hygiene = exports.hygiene = function (some) {
});
var tsl = es.through(function(file) {
configuration = tslint.findConfiguration(null, '.');
var configuration = tslint.findConfiguration(null, '.');
var options = {
formatter: 'json',
configuration: configuration,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册