We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bf510 commit fa25f6dCopy full SHA for fa25f6d
server/src/eslintServer.ts
@@ -605,8 +605,9 @@ function resolveSettings(document: TextDocument): Promise<TextDocumentSettings>
605
}, filePath, settings);
606
if (eslintConfig !== undefined) {
607
if (eslintConfig.parser !== null && parserRegExps !== undefined) {
608
+ const parser = process.platform === 'win32' ? eslintConfig.parser.replace(/\\/g, '/') : eslintConfig.parser;
609
for (const regExp of parserRegExps) {
- if (regExp.test(eslintConfig.parser)) {
610
+ if (regExp.test(parser)) {
611
settings.validate = Validate.on;
612
break;
613
}
0 commit comments