MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Other
2.01k stars 1.58k forks source link

Add MD058 rule handling - Blanks around tables #11459

Closed ArieHein closed 1 month ago

ArieHein commented 1 month ago

Prerequisites

Links

https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/date-and-time-parameters?view=powershell-7.4

Summary

There are some files across the repo that trigger the MD058 - Blanks around tables rule. Example in the link.

Details

When opening the files in VSCode with the markdownlint extension, it reports the MD058 rule issue. It should probably be added to the markdownlint yaml file to trigger in PR/Build. I can create a pull request for each single file with that occurrence, but i leave you the configuration of the yaml file.

Suggested Fix

No response

sdwheeler commented 1 month ago

@ArieHein Thanks for pointing this out. There were a couple of new rules that I was not aware of.

We don't use markdownlint in the PR/Build but I added the new rules to our yaml file.