-
Notifications
You must be signed in to change notification settings - Fork 51
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 = 1I 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels