Closed douglasg14b closed 1 year ago
@douglasg14b from the version number of the extension I conclude that this is for the new tslint extension and not the deprecated one you have reported the issue against.
Moving to the other repo.
Yep. that would be correct!
Same for me...
I can't repo this using 1.2.0 of this extension and tslint 5.1.6. For example, for the file:
//comment
const str= 'ab'
Fix all formats it to:
// comment
const str = "ab"
The only one that is not fixed is the trailing whitespace on the second line because it overlaps with the missing semicolon and change.
Please share some example code where it does not work
This extension has been depreacted
The "fix all" option doesn't seem to fix many superfluous formatting issues. Such as:
missing whitespace
trailing whitespace
" should be '
comment must start with space
missing semicolon
expected onespace after colon in parameter
Is this expected behavior? These seem like they would be automatically correctable? Some of these work inconsistently. Such as leading and trailing whitespace work on function declarations, but seemingly on nothing else.