TypeScript Version: 3.0.0-dev.20180620
vscode Version: 1.24.0 (6a6e02cef0f2122ee1469765b704faf5d0e0d859 2018-06-06T17:37:01.579Z)
OS Version: Ubuntu 16.04 LTS
Search Terms: organise organize imports tslint
Code
import { foo, _bar } from 'baz';
Expected behavior: tslint expects the imports to have _ before alphabetic characters, so Organize Imports should sort it to import { _bar, foo }
Actual behavior: It sorts it to import { foo, _bar }, which causes a tslint error.
TypeScript Version: 3.0.0-dev.20180620
vscode Version: 1.24.0 (6a6e02cef0f2122ee1469765b704faf5d0e0d859 2018-06-06T17:37:01.579Z)
OS Version: Ubuntu 16.04 LTS
Search Terms: organise organize imports tslint
Code
Expected behavior: tslint expects the imports to have
_before alphabetic characters, soOrganize Importsshould sort it toimport { _bar, foo }Actual behavior: It sorts it to
import { foo, _bar }, which causes a tslint error.