File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function showInner(
7575 if ( index >= 0 ) {
7676 toggleSelection ( items [ index ] ) ;
7777 } else {
78- // tslint: disable-next-line: no-console
78+ // eslint- disable-next-line no-console
7979 console . log ( `Couldn't find CheckboxQuickPickItem for label '${ selection . label } '` ) ;
8080 }
8181
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class PowerShellContentProvider implements vscode.TextDocumentContentProvider {
7474 private viewIndex : { [ id : string ] : CustomView } = { } ;
7575 private didChangeEvent : vscode . EventEmitter < vscode . Uri > = new vscode . EventEmitter < vscode . Uri > ( ) ;
7676
77- // tslint: disable-next-line: member-ordering
77+ // eslint- disable-next-line @typescript-eslint/ member-ordering
7878 public onDidChange : vscode . Event < vscode . Uri > = this . didChangeEvent . event ;
7979
8080 public provideTextDocumentContent ( uri : vscode . Uri ) : string {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export const GetEditorContextRequestType =
9393 new RequestType < IGetEditorContextRequestArguments , IEditorContext , void > (
9494 "editor/getEditorContext" ) ;
9595
96- // tslint: disable-next-line: no-empty-interface
96+ // eslint- disable-next-line @typescript-eslint/ no-empty-interface
9797export interface IGetEditorContextRequestArguments {
9898}
9999
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ export class Logger implements ILogger {
187187 timestampedMessage + os . EOL ,
188188 ( err ) => {
189189 if ( err ) {
190- // tslint: disable-next-line: no-console
190+ // eslint- disable-next-line no-console
191191 console . log ( `Error writing to vscode-powershell log file: ${ err } ` ) ;
192192 }
193193 } ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { PowerShellLanguageId } from "./utils";
3535import { LanguageClientConsumer } from "./languageClientConsumer" ;
3636
3737// The most reliable way to get the name and version of the current extension.
38- // tslint: disable-next-line: no-var-requires
38+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
3939const PackageJSON : any = require ( "../../package.json" ) ;
4040
4141// the application insights key (also known as instrumentation key) used for telemetry.
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ class SessionMenuItem implements vscode.QuickPickItem {
776776
777777 constructor (
778778 public readonly label : string ,
779- // tslint: disable-next-line: no-empty
779+ // eslint- disable-next-line no-empty, @typescript-eslint/no-empty-function
780780 public readonly callback : ( ) => void = ( ) => { } ) {
781781 }
782782}
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ export function load(): ISettings {
264264 notebooks :
265265 configuration . get < INotebooksSettings > ( "notebooks" , defaultNotebooksSettings ) ,
266266 startAsLoginShell :
267- // tslint: disable-next-line
267+ // eslint- disable-next-line
268268 // We follow the same convention as VS Code - https://github.com/microsoft/vscode/blob/ff00badd955d6cfcb8eab5f25f3edc86b762f49f/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts#L105-L107
269269 // "Unlike on Linux, ~/.profile is not sourced when logging into a macOS session. This
270270 // is the reason terminals on macOS typically run login shells by default which set up
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import * as vscode from "vscode";
66import { before , beforeEach , afterEach } from "mocha" ;
77import { IExternalPowerShellDetails , IPowerShellExtensionClient } from "../../src/features/ExternalApi" ;
88
9- // tslint: disable-next-line: no-var-requires
9+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
1010const PackageJSON : any = require ( "../../../package.json" ) ;
1111const testExtensionId = `${ PackageJSON . publisher } .${ PackageJSON . name } ` ;
1212
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as path from "path";
55
66import { runTests } from "vscode-test" ;
77
8- // tslint: disable-next-line: no-var-requires
8+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
99const PackageJSON : any = require ( "../../package.json" ) ;
1010const testExtensionId = `${ PackageJSON . publisher } .${ PackageJSON . name } ` ;
1111
@@ -31,9 +31,9 @@ async function main() {
3131 version : "insiders"
3232 } ) ;
3333 } catch ( err ) {
34- // tslint: disable-next-line: no-console
34+ // eslint- disable-next-line no-console
3535 console . error ( err ) ;
36- // tslint: disable-next-line: no-console
36+ // eslint- disable-next-line no-console
3737 console . error ( "Failed to run tests" ) ;
3838 process . exit ( 1 ) ;
3939 }
You can’t perform that action at this time.
0 commit comments