aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/analyzer_status.ts
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-11 16:14:41 +0000
committerGitHub <[email protected]>2019-12-11 16:14:41 +0000
commit797a6c3041f2d06d68267232e312302bb59932a3 (patch)
tree8ecd119d1595aa61c9b3076e285eb71371930e10 /editors/code/src/commands/analyzer_status.ts
parent143484922284b2b3177393706ba27c76a3113292 (diff)
parentf0f259bda32a3cf04f45cea946b5d12368454342 (diff)
Merge #2527
2527: Enable tsc builtin lint options for vscode/extension r=matklad a=saneyuki * These options are not enabled by `--strict` option and these options make a code more solid. * https://www.typescriptlang.org/docs/handbook/compiler-options.html * For `noUnusedParameters` , we need to tweak tslint option to allow `_bar` style. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
Diffstat (limited to 'editors/code/src/commands/analyzer_status.ts')
-rw-r--r--editors/code/src/commands/analyzer_status.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/analyzer_status.ts b/editors/code/src/commands/analyzer_status.ts
index 9e4ce0eb3..2777ced24 100644
--- a/editors/code/src/commands/analyzer_status.ts
+++ b/editors/code/src/commands/analyzer_status.ts
@@ -9,7 +9,7 @@ export class TextDocumentContentProvider
9 public syntaxTree: string = 'Not available'; 9 public syntaxTree: string = 'Not available';
10 10
11 public provideTextDocumentContent( 11 public provideTextDocumentContent(
12 uri: vscode.Uri, 12 _uri: vscode.Uri,
13 ): vscode.ProviderResult<string> { 13 ): vscode.ProviderResult<string> {
14 const editor = vscode.window.activeTextEditor; 14 const editor = vscode.window.activeTextEditor;
15 if (editor == null) { 15 if (editor == null) {