-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(typescript-estree): fix persisted parse for relative paths #1424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #1424 +/- ##
==========================================
- Coverage 94.45% 94.45% -0.01%
==========================================
Files 142 142
Lines 6082 6081 -1
Branches 1727 1727
==========================================
- Hits 5745 5744 -1
Misses 183 183
Partials 154 154
|
@@ -11,6 +11,7 @@ import { createSourceFile } from './create-program/createSourceFile'; | |||
import { Extra, TSESTreeOptions, ParserServices } from './parser-options'; | |||
import { getFirstSemanticOrSyntacticError } from './semantic-or-syntactic-errors'; | |||
import { TSESTree } from './ts-estree'; | |||
import { ensureAbsolutePath } from './create-program/shared'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't like this, maybe i should move it somewhere else
- this issue is specific to vscode
cb(current!, ts.FileWatcherEventKind.Changed); | ||
}); | ||
hasCallback = true; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removal of his line fixes issue with vscode, but i'm unable to test this
this should be fixed when #1424 gets merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for working on this
Issue #1303 seams to be related to resolution of relative paths in watch part of persisted parse.
its possible that this is different unrelated issue
Tasks:
find if its related to Newly created Vue SFC File: Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser #1303: its notfixes #1303