Open
Description
I have this tslint.json
:
{
"rules": {
"semicolon": [true, "always"],
"no-consecutive-blank-lines": true
}
}
And this code in example.ts
:
if (true)
var a = 1
var a = 1
I run:
node_modules/.bin/tsfmt ./js/*.ts -r --useTslint ./tslint.json
And nothing changes. But I expect semicolons to be added and extra empty lines to be removed.
It follows the rules from tsfmt.json
though, related to indentation and whitespaces.
I also found that running tsfmt ./js/*.ts -r --useTslint ./tslint.json
(without node_modules) produces very weird formatting that does not follow any rules.
Metadata
Metadata
Assignees
Labels
No labels