Skip to content

Commit

Permalink
Make current state lint-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Sep 13, 2022
1 parent 9890d52 commit 3cbc760
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/server/editorServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ export class ProjectService {
configFileName: configFileName(),
projectType: project instanceof ExternalProject ? "external" : "configured",
languageServiceEnabled: project.languageServiceEnabled,
version: version, // eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
version,
};
this.eventHandler({ eventName: ProjectInfoTelemetryEvent, data });

Expand Down
2 changes: 1 addition & 1 deletion src/server/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2953,7 +2953,7 @@ export class Session<TMessage = string> implements EventSender {

private handlers = new Map(getEntries<(request: protocol.Request) => HandlerResponse>({
[CommandNames.Status]: () => {
const response: protocol.StatusResponseBody = { version: version }; // eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
const response: protocol.StatusResponseBody = { version };
return this.requiredResponse(response);
},
[CommandNames.OpenExternalProject]: (request: protocol.OpenExternalProjectRequest) => {
Expand Down
4 changes: 2 additions & 2 deletions src/services/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ declare global {
declare global {
// Module transform: converted from ambient declaration
/** @internal */
var Promise: PromiseConstructor;
} // eslint-disable-line no-var
var Promise: PromiseConstructor; // eslint-disable-line no-var
}

// These utilities are common to multiple language service features.
//#region
Expand Down
7 changes: 3 additions & 4 deletions src/testRunner/parallel/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export function start() {
let totalPassing = 0;
const startDate = new Date();

const progressBars = new ProgressBars({ noColors: noColors }); // eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
const progressBars = new ProgressBars({ noColors });
const progressUpdateInterval = 1 / progressBars._options.width;
let nextProgress = progressUpdateInterval;

Expand All @@ -259,7 +259,7 @@ export function start() {
let closedWorkers = 0;
for (let i = 0; i < workerCount; i++) {
// TODO: Just send the config over the IPC channel or in the command line arguments
const config: TestConfig = { light: lightMode, listenForWork: true, runUnitTests: runUnitTests, stackTraceLimit: stackTraceLimit, timeout: globalTimeout }; // eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
const config: TestConfig = { light: lightMode, listenForWork: true, runUnitTests, stackTraceLimit, timeout: globalTimeout };
const configPath = ts.combinePaths(taskConfigsFolder, `task-config${i}.json`);
IO.writeFile(configPath, JSON.stringify(config));
const worker: Worker = {
Expand Down Expand Up @@ -558,8 +558,7 @@ export function start() {
failedTestReporter = new FailedTestReporter(replayRunner, {
reporterOptions: {
file: path.resolve(".failed-tests"),
keepFailed: keepFailed // eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
// eslint-disable-line @typescript-eslint/no-unnecessary-qualifier
keepFailed,
}
});
}
Expand Down

0 comments on commit 3cbc760

Please sign in to comment.