-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Bug: import/no-deprecated doesn't work with typescript #1315
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
Comments
I think you need to configure a parser. I just added some tests and it seems to be working, if a TypeScript parser is configured. Might also need the TS resolver: settings: {
'import/parsers': { '@typescript-eslint/parser': ['.ts'] },
'import/resolver': { 'eslint-import-resolver-typescript': true },
} |
Fixed by #1257 thx! |
Is the fix released already? I can't tell from the comments on #1257 |
Long fixed. Try it and see. |
It still doesn't work for me. I was using RxJs forkJoin and it was not marked as deprecated in vscode (other eslint warnings work fine). A colleague using IntelliJ (which I guess uses an internal check, not eslint-based) pointed it out to me. |
Please file a new issue for that. |
Adding |
@justingolden21 if it works with just If it's still something we should look at, please file a new issue. |
.eslintrc.js
Code:
lint run:
will produce NO lint errors
The text was updated successfully, but these errors were encountered: