We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
async
I have noticed a strange behaviour that occurs with Angular testing library. Before autofix:
import { TestBed, async } from '@angular/core/testing';
After autofix:
import { ,asyncTestBed } from '@angular/core/testing';
Package versions: eslint-plugin-simple-import-sort -> 4.0.0 @typescript-eslint/eslint-plugin -> 1.10.2 @typescript-eslint/parser -> 1.10.2
eslint-plugin-simple-import-sort
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
async is not a reserved keyword - see https://www.ecma-international.org/ecma-262/10.0/index.html#sec-keywords
The text was updated successfully, but these errors were encountered:
Hi! Thanks for the issue!
I managed to reproduce your issue here: https://github.com/lydell/eslint-plugin-simple-import-issue
It seems like it only happens with in TypeScript.
I/we need to:
Luckily, for now you can work around the problem by manually fixing the broken cases.
Sorry, something went wrong.
@lydell Thank you! The problem with @typescript-eslint/typescript-estree package.
@typescript-eslint/typescript-estree
I was able to reproduce it - typescript-eslint/typescript-eslint#678
I'm going to close this since typescript-eslint/typescript-eslint#681 has been merged.
This will we on npm when the next version (after v1.11.0) of the @typescript-eslint packages are released.
@typescript-eslint
No branches or pull requests
I have noticed a strange behaviour that occurs with Angular testing library.
Before autofix:
After autofix:
Package versions:
eslint-plugin-simple-import-sort
-> 4.0.0@typescript-eslint/eslint-plugin
-> 1.10.2@typescript-eslint/parser
-> 1.10.2async
is not a reserved keyword - see https://www.ecma-international.org/ecma-262/10.0/index.html#sec-keywordsThe text was updated successfully, but these errors were encountered: