Skip to content

lint code in 'server' folder #5440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,17 @@ var servicesSources = [
return path.join(servicesDirectory, f);
}));

var serverSources = [
var serverCoreSources = [
"node.d.ts",
"editorServices.ts",
"protocol.d.ts",
"session.ts",
"server.ts"
].map(function (f) {
return path.join(serverDirectory, f);
}).concat(servicesSources);
});

var serverSources = serverCoreSources.concat(servicesSources);

var languageServiceLibrarySources = [
"editorServices.ts",
Expand Down Expand Up @@ -898,7 +900,9 @@ function lintFileAsync(options, path, cb) {
});
}

var lintTargets = compilerSources.concat(harnessCoreSources);
var lintTargets = compilerSources
.concat(harnessCoreSources)
.concat(serverCoreSources);

desc("Runs tslint on the compiler sources");
task("lint", ["build-rules"], function() {
Expand Down
Loading