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
I've seen the related issue:
and tested it on the current typescript next (3.1.0-dev.20180825). But the current fix seems to be incomplete.
Code
import { helloWorld, HELLO_WORLD } from 'foo';
Expected behavior:
Using "Organize imports", this should become
import { HELLO_WORLD, helloWorld } from 'foo';
due to the _ in the naming. As this is the expected behavior of tslint ordered-imports
_
ordered-imports
Actual behavior:
Imports are not reordered. Worse, if you have the code following code which fits tslint rules:
then "Organize imports" will revert it back
For now I added a // tslint:disable-next-line:ordered-imports but this is not ideal.
// tslint:disable-next-line:ordered-imports
The text was updated successfully, but these errors were encountered:
Duplicated of #25114?
Sorry, something went wrong.
Oh, didn't see that one. Gotcha
No branches or pull requests
I've seen the related issue:
and tested it on the current typescript next (3.1.0-dev.20180825). But the current fix seems to be incomplete.
Code
Expected behavior:
Using "Organize imports", this should become
due to the
_
in the naming. As this is the expected behavior of tslintordered-imports
Actual behavior:
Imports are not reordered.
Worse, if you have the code following code which fits tslint rules:
then "Organize imports" will revert it back
For now I added a
// tslint:disable-next-line:ordered-imports
but this is not ideal.The text was updated successfully, but these errors were encountered: