diff options
| author | Tetsuharu OHZEKI <tetsuharu.ohzeki@gmail.com> | 2019-12-12 00:41:16 +0900 |
|---|---|---|
| committer | Tetsuharu OHZEKI <tetsuharu.ohzeki@gmail.com> | 2019-12-12 00:56:29 +0900 |
| commit | b21bb44c8dcd43e9e42ef7e3d752dd550e6505ad (patch) | |
| tree | bb800455698b200c4fdb7fdfeda736eb91c06663 /editors/code/src | |
| parent | 143484922284b2b3177393706ba27c76a3113292 (diff) | |
| download | rust-b21bb44c8dcd43e9e42ef7e3d752dd550e6505ad.tar.gz rust-b21bb44c8dcd43e9e42ef7e3d752dd550e6505ad.zip | |
Enable noUnusedParameters option for vscode extension
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/commands/analyzer_status.ts | 2 | ||||
| -rw-r--r-- | editors/code/src/commands/expand_macro.ts | 2 | ||||
| -rw-r--r-- | editors/code/src/commands/runnables.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/commands/analyzer_status.ts b/editors/code/src/commands/analyzer_status.ts index 9e4ce0eb3c0..2777ced2479 100644 --- a/editors/code/src/commands/analyzer_status.ts +++ b/editors/code/src/commands/analyzer_status.ts @@ -9,7 +9,7 @@ export class TextDocumentContentProvider public syntaxTree: string = 'Not available'; public provideTextDocumentContent( - uri: vscode.Uri, + _uri: vscode.Uri, ): vscode.ProviderResult<string> { const editor = vscode.window.activeTextEditor; if (editor == null) { diff --git a/editors/code/src/commands/expand_macro.ts b/editors/code/src/commands/expand_macro.ts index 842898020be..17c78280a89 100644 --- a/editors/code/src/commands/expand_macro.ts +++ b/editors/code/src/commands/expand_macro.ts @@ -11,7 +11,7 @@ export class ExpandMacroContentProvider public eventEmitter = new vscode.EventEmitter<vscode.Uri>(); public provideTextDocumentContent( - uri: vscode.Uri, + _uri: vscode.Uri, ): vscode.ProviderResult<string> { async function handle() { const editor = vscode.window.activeTextEditor; diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 9b1c6643d40..c81d7ce0f06 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts @@ -178,7 +178,7 @@ export async function startCargoWatch( } const label = 'install-cargo-watch'; - const taskFinished = new Promise((resolve, reject) => { + const taskFinished = new Promise((resolve, _reject) => { const disposable = vscode.tasks.onDidEndTask(({ execution }) => { if (execution.task.name === label) { disposable.dispose(); |
