exempt AuthenticationProvider from provider-naming rule

This commit is contained in:
Johannes Rieken 2021-02-23 08:38:37 +01:00
parent 39b45dd9c0
commit 7222dfcffb
2 changed files with 2 additions and 4 deletions

View file

@ -984,7 +984,8 @@
"TreeDataProvider",
"CustomEditorProvider",
"CustomReadonlyEditorProvider",
"TerminalLinkProvider"
"TerminalLinkProvider",
"AuthenticationProvider"
]
}
],

3
src/vs/vscode.d.ts vendored
View file

@ -12378,7 +12378,6 @@ declare module 'vscode' {
* these permissions, otherwise all sessions should be returned.
* @returns A promise that resolves to an array of authentication sessions.
*/
// eslint-disable-next-line vscode-dts-provider-naming
getSessions(scopes?: string[]): Thenable<ReadonlyArray<AuthenticationSession>>;
/**
@ -12386,14 +12385,12 @@ declare module 'vscode' {
* @param scopes A list of scopes, permissions, that the new session should be created with.
* @returns A promise that resolves to an authentication session.
*/
// eslint-disable-next-line vscode-dts-provider-naming
createSession(scopes: string[]): Thenable<AuthenticationSession>;
/**
* Removes the session corresponding to session id.
* @param sessionId The id of the session to remove.
*/
// eslint-disable-next-line vscode-dts-provider-naming
removeSession(sessionId: string): Thenable<void>;
}