diff --git a/.github/PSModule.yml b/.github/PSModule.yml index 35f3fc6..96c0cd8 100644 --- a/.github/PSModule.yml +++ b/.github/PSModule.yml @@ -19,3 +19,12 @@ Test: # Build: # Docs: # Skip: true +Linter: + env: + VALIDATE_BIOME_FORMAT: false + VALIDATE_BIOME_LINT: false + VALIDATE_GITHUB_ACTIONS_ZIZMOR: false + VALIDATE_JSCPD: false + VALIDATE_JSON_PRETTIER: false + VALIDATE_MARKDOWN_PRETTIER: false + VALIDATE_YAML_PRETTIER: false diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml index b9ecdfa..d9653d7 100644 --- a/.github/linters/.markdown-lint.yml +++ b/.github/linters/.markdown-lint.yml @@ -8,18 +8,20 @@ ############### # Rules by id # ############### -MD004: false # Unordered list style +MD004: false # Unordered list style MD007: - indent: 2 # Unordered list indentation + indent: 2 # Unordered list indentation MD013: - line_length: 808 # Line length + line_length: 808 # Line length +MD024: + siblings_only: true # Allow duplicate headings in different sections MD026: - punctuation: ".,;:!。,;:" # List of not allowed -MD029: false # Ordered list item prefix -MD033: false # Allow inline HTML -MD036: false # Emphasis used instead of a heading + punctuation: '.,;:!。,;:' # List of not allowed +MD029: false # Ordered list item prefix +MD033: false # Allow inline HTML +MD036: false # Emphasis used instead of a heading ################# # Rules by tags # ################# -blank_lines: false # Error on blank lines +blank_lines: false # Error on blank lines diff --git a/src/functions/public/Functions/Get-AstFunctionName.ps1 b/src/functions/public/Functions/Get-AstFunctionName.ps1 index 938b16b..77cdf1c 100644 --- a/src/functions/public/Functions/Get-AstFunctionName.ps1 +++ b/src/functions/public/Functions/Get-AstFunctionName.ps1 @@ -44,13 +44,14 @@ .OUTPUTS System.String + The names of functions found in the PowerShell script. + .NOTES The name of each function found in the PowerShell script. .LINK https://psmodule.io/Ast/Functions/Functions/Get-AstFunctionName/ #> - [CmdletBinding()] param ( # The name of the command to search for. Defaults to all commands ('*').