Can we please make the external code formatters respect the option we pick for the dotnet format as well.
We don't want the external code formatters changing all of our front end files (angular solution). It is generating over 600 file commits for us and we don't want to review or even accept most of the formatting that it does.
There is already an option to not run the dotnet format. Can you also either add another option for the front end formatters or just change the existing option to be more generic.
Thanks
I note these items as well. https://support.aspnetzero.com/QA/Questions/12482/Option-to-Disable-Automatic-Code-Formatting-ExternalCodeFormatter-in-RAD-Tool
Thanks Rick
1 Answer(s)
-
0
Hi @rickfrankel
Power Tools uses the
prettiercommand from Angular when formatting the frontend. Here, you can configure theprettiersettings to suit your project. Or, if you want to remove it completely, you can temporarily uninstall theprettierpackage from your project. I'm noting your suggestion; we'll make frontend code formatting optional in the next Power Tools version. Thank you.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)
