Fix file location pattern in eslint-stylish problem matcher (#117576)
eslint-stylish file location pattern now match relative and absolute path in Window and *nix This PR fixes #113306
This commit is contained in:
parent
693e3a4aeb
commit
205a366f1c
1 changed files with 1 additions and 1 deletions
|
@ -1294,7 +1294,7 @@ class ProblemPatternRegistryImpl implements IProblemPatternRegistry {
|
|||
});
|
||||
this.add('eslint-stylish', [
|
||||
{
|
||||
regexp: /^([^\s].*)$/,
|
||||
regexp: /^((?:[a-zA-Z]:)*[\\\/.]+.*?)$/,
|
||||
kind: ProblemLocationKind.Location,
|
||||
file: 1
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue