desktopJS icon indicating copy to clipboard operation
desktopJS copied to clipboard

Use a Code Formatter

Open Brookke opened this issue 4 years ago • 4 comments

Prettier.io seems to be the goto.

Will likely require some TSLint changes so #311 should probably be done first.

Brookke avatar May 27 '20 16:05 Brookke

@bingenito Similar to #311 do you have a preference on prettier formatting? I notice the editor config is 4 spaces indentation but I wonder if 2 spaces would be more suited since prettier has a tendency to indent often

Brookke avatar Oct 23 '20 10:10 Brookke

I also think it would be great if the prettier config was its own package that could be used in all Morgan Stanley open sourced projects, possibly even internally too. Similar to https://github.com/azz/prettier-config

Brookke avatar Oct 23 '20 10:10 Brookke

@Brookke Agreed on prettier. No real preference on spaces of 2 versus 4. Let's encapsulate within here first and then look to split to another repository based on some of the other projects within the org.

bingenito avatar Oct 29 '20 14:10 bingenito

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 29 '21 14:10 stale[bot]