Closed MatejKastak closed 2 years ago
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
:x: MatejKastak sign now
You have signed the CLA already but the status is still pending? Let us recheck it.
Thanks for the PR, consistency if good!
@MatejKastak If you can accept the CLA (see https://github.com/apps/microsoft-cla) then we can push the PR.
Hi :wave:
First of all thanks for this template, it was really useful for me in the past :+1: .
Last time I generated skeleton for vscode TS extension I noticed that
package.json
is always reformatted by prettier. There are inconsistencies between different package.json (across plugins, some use 2 spaces, some 4 spaces, some tabs, and some are mixed) and even directly in TS package.json indentation. Fieldname
uses different indentation thandisplayName
. See attached image.Maybe some people will be against following prettier defaults (using spaces with tab width 2). But I think it's fairly popular tool and it's better to have the indentation consistent rather than random indentation.
Another way might be to add
yes/No
option at the end of generator dialog that will try to format the all relevant files after generation step is done.This PR is just to kick of discussion if the maintainers would be open to such change. If so, I will try to properly test if I did not break any of the jsons.