mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 22:46:48 -05:00
eslint - fix linting issues
This commit is contained in:
@@ -57,7 +57,7 @@ export async function testCompletionFor(value: string, expected: { count?: numbe
|
||||
|
||||
let document = TextDocument.create(uri, 'html', 0, value);
|
||||
let position = document.positionAt(offset);
|
||||
const context = getDocumentContext(uri, workspace.folders)
|
||||
const context = getDocumentContext(uri, workspace.folders);
|
||||
|
||||
const languageModes = getLanguageModes({ css: true, javascript: true }, workspace, ClientCapabilities.LATEST, getNodeFSRequestService());
|
||||
const mode = languageModes.getModeAtPosition(document, position)!;
|
||||
|
||||
@@ -78,7 +78,7 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
};
|
||||
|
||||
return merge(defaultConfig, extConfig);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
@@ -135,7 +135,7 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
};
|
||||
|
||||
return merge(defaultConfig, extConfig);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
module.exports = withNodeDefaults;
|
||||
|
||||
Reference in New Issue
Block a user