You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add tsfmt rule to add space before parentheses of anonymous functions
Theia and VSCode format anonymous functions differently:
Theia:
function()
VSCode:
function ()
As people use both tools to edit the Theia code, we constantly get
spurious diffs where these are changed back and forth. This patch adds
a tsfmt.json (picked up by the typescript language server) to align the
Theia behavior on what VSCode does. It also adds a tslint rule and fixes
all problematic occurences.
Change-Id: I6f1b99a8b53095597e8db2eadb056fa272b5af66
Signed-off-by: Simon Marchi <[email protected]>
0 commit comments