Skip to content

Commit 831f44f

Browse files
gorkemfbricon
authored andcommitted
Updates tslint configuration
Several changes related to tslint. 1. tslint is now invoked as as a typescript plugin, and the gulp function related to tslint is removed. 2. updated tslint.json with rules. 3. fixed reported tslint error Signed-off-by: Gorkem Ercan <[email protected]>
1 parent 61aa100 commit 831f44f

File tree

14 files changed

+380
-770
lines changed

14 files changed

+380
-770
lines changed

gulpfile.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
'use strict';
22
const gulp = require('gulp');
3-
const gulp_tslint = require('gulp-tslint');
43
const cp = require('child_process');
54
const decompress = require('gulp-decompress');
65
const download = require('gulp-download');
76
const server_dir = '../eclipse.jdt.ls';
87
//...
9-
gulp.task('tslint', () => {
10-
return gulp.src(['**/*.ts', '!**/*.d.ts', '!node_modules/**'])
11-
.pipe(gulp_tslint())
12-
.pipe(gulp_tslint.report());
13-
});
148

159
gulp.task('download_server', function(done) {
1610
download("http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz")
@@ -34,7 +28,7 @@ gulp.task('dev_server', function(done) {
3428
}
3529
else if(isMac()){
3630
command += '-Denvironment.os=macosx -Denvironment.ws=cocoa -Denvironment.arch=x86_64';
37-
}
31+
}
3832
else if(isWin()){
3933
command += '-Denvironment.os=win32 -Denvironment.ws=win32 -Denvironment.arch=x86_64';
4034
}

0 commit comments

Comments
 (0)