eslint - fix linting issues

This commit is contained in:
Benjamin Pasero 2020-07-21 07:46:09 +02:00
parent 3c4a261d5f
commit dc333833e9
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ export async function testCompletionFor(value: string, expected: { count?: numbe
let document = TextDocument.create(uri, 'html', 0, value); let document = TextDocument.create(uri, 'html', 0, value);
let position = document.positionAt(offset); 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 languageModes = getLanguageModes({ css: true, javascript: true }, workspace, ClientCapabilities.LATEST, getNodeFSRequestService());
const mode = languageModes.getModeAtPosition(document, position)!; const mode = languageModes.getModeAtPosition(document, position)!;

View file

@ -78,7 +78,7 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
}; };
return merge(defaultConfig, extConfig); return merge(defaultConfig, extConfig);
}; }
function withBrowserDefaults(/**@type WebpackConfig*/extConfig) { function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
@ -135,7 +135,7 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
}; };
return merge(defaultConfig, extConfig); return merge(defaultConfig, extConfig);
}; }
module.exports = withNodeDefaults; module.exports = withNodeDefaults;