eslint - fix linting issues
This commit is contained in:
parent
3c4a261d5f
commit
dc333833e9
|
@ -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)!;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue