Skip to content

Commit bf333b7

Browse files
committed
Remove tslint traces
1 parent ac755f7 commit bf333b7

File tree

11 files changed

+5
-19
lines changed

11 files changed

+5
-19
lines changed

.vscode/settings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"editor.insertSpaces": false,
3-
"tslint.enable": true,
4-
"typescript.tsc.autoDetect": "off",
5-
"typescript.preferences.quoteStyle": "single"
6-
}
2+
"editor.insertSpaces": false,
3+
"typescript.tsc.autoDetect": "off",
4+
"typescript.preferences.quoteStyle": "single"
5+
}

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{
2929
"type": "npm",
3030
"script": "lint",
31-
"problemMatcher": ["$tslint5"]
31+
"problemMatcher": ["$eslint-stylish"]
3232
}
3333
]
3434
}

src/capabilityCalculator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export class CapabilityCalculator {
1414
}
1515

1616
get capabilities(): ServerCapabilities {
17-
// tslint:disable-next-line:no-unused-expression
1817
this.clientCapabilities;
1918

2019
return {

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { ILanguageServer } from "./server";
1414
// Show version for `-v` or `--version` arguments
1515
if (process.argv[2] === "-v" || process.argv[2] === "--version") {
1616
// require is used to avoid loading package if not necessary (~30ms time difference)
17-
// tslint:disable-next-line no-var-requires
1817
process.stdout.write(`${require("pjson").version}\n`);
1918
process.exit(0);
2019
}

src/providers/codeActionProvider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ export class CodeActionProvider {
3535
this.connection.onExecuteCommand(this.onExecuteCommand);
3636

3737
if (settings.extendedCapabilities?.moveFunctionRefactoringSupport) {
38-
// tslint:disable-next-line: no-unused-expression
3938
new MoveRefactoringHandler(this.connection, this.elmWorkspaces);
4039
}
4140

42-
// tslint:disable-next-line: no-unused-expression
4341
new ExposeUnexposeHandler(this.connection, this.elmWorkspaces);
4442
}
4543

src/providers/completionProvider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -931,8 +931,6 @@ export class CompletionProvider {
931931
};
932932
}
933933

934-
// tslint:disable: no-duplicate-string
935-
// tslint:disable: no-big-function
936934
private createSnippets() {
937935
return [
938936
this.createSnippet(

src/providers/definitionProvider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export class DefinitionProvider {
3333
protected handleDefinitionRequest = (
3434
param: TextDocumentPositionParams,
3535
elmWorkspace: IElmWorkspace,
36-
// tslint:disable-next-line: max-union-size
3736
): DefinitionResult => {
3837
this.connection.console.info(`A definition was requested`);
3938
const forest = elmWorkspace.getForest();

src/providers/diagnostics/elmMakeDiagnostics.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ export class ElmMakeDiagnostics {
283283
const regex = /^\s{4}#(.*)#$/gm;
284284
let matches;
285285

286-
// tslint:disable-next-line: no-conditional-assignment
287286
while ((matches = regex.exec(diagnostic.message)) !== null) {
288287
// This is necessary to avoid infinite loops with zero-width matches
289288
if (matches.index === regex.lastIndex) {

src/providers/ranking.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// tslint:disable: object-literal-sort-keys
21
const RANKING_LIST = {
32
"elm/core": "0001",
43
"elm/html": "0002",
@@ -383,7 +382,6 @@ const RANKING_LIST = {
383382
"allo-media/canopy": "0365",
384383
"tomjkidd/elm-multiway-tree-zipper": "0366",
385384
"folkertdev/elm-kmeans": "0367",
386-
// tslint:disable-next-line: no-hardcoded-credentials
387385
"SiriusStarr/elm-password-strength": "0368",
388386
"Janiczek/transform": "0369",
389387
"doanythingfordethklok/snackbar": "0370",

src/server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ export class Server implements ILanguageServer {
167167
this.settings,
168168
);
169169

170-
// tslint:disable:no-unused-expression
171170
new DiagnosticsProvider(
172171
this.connection,
173172
this.elmWorkspaces,
@@ -185,7 +184,6 @@ export class Server implements ILanguageServer {
185184
elmMake,
186185
);
187186

188-
// tslint:disable:no-unused-expression
189187
new ASTProvider(
190188
this.connection,
191189
this.elmWorkspaces,

0 commit comments

Comments
 (0)