PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
483 stars 92 forks source link

Implement a `.editorconfig` in the project for autoformatting #1674

Closed o-l-a-v closed 1 week ago

o-l-a-v commented 1 month ago

Summary of the new feature / enhancement

Would be great if this repo could get a .editorconfig to make sure all code looks and feels the same. And then also set editor.autoFormatOnSave in .vscode\settings.json.

Here are some other projects that have it (inspiration):

Here's documentation on autoformatting with the VSCode C# Dev Kit using EditorConfig:

Relevant VSCode extensions:

Proposed technical implementation details (optional)

Create .editorconfig, use mentioned projects as starting point.