Skip to content

Commit 01588f7

Browse files
authored
feat: general improvements and optimizations (#7)
- Added dry-run functionality to preview changes without modifying files - Improved pipeline input support and parameter validation - Enhanced performance with compiled regex patterns and environment variable caching
1 parent c7122d6 commit 01588f7

File tree

9 files changed

+418
-129
lines changed

9 files changed

+418
-129
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
- Always write meaningful documentation
77
- Refer to the [PSScriptAnalyzerSettings.psd1](../PSScriptAnalyzerSettings.psd1) file for coding standards
88
- All path operations must use `Join-Path` and the `-Path` and `-ChildPath` parameters. Do not ever use the `-AdditionalChildPath` parameter because it not support in PowerShell Desktop 5.1.
9+
- Don't use Unicode characters in output due to issues with Windows PowerShell 5.1 console.

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ updates:
66
schedule:
77
interval: monthly
88
target-branch: main
9-
reviewers:
10-
- jonlabelle
119
commit-message:
1210
prefix: 'chore(deps): '
1311
groups:

.github/workflows/lint-markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131

3232
- uses: DavidAnson/markdownlint-cli2-action@main
3333
with:
34-
config: .markdownlint.json
34+
config: .markdownlint-cli2.jsonc
3535
globs: |
3636
README.md

.markdownlint-cli2.jsonc

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"config": {
3+
"MD046": {
4+
"style": "fenced"
5+
},
6+
"MD048": {
7+
"style": "backtick"
8+
},
9+
"MD049": {
10+
"style": "consistent"
11+
},
12+
"MD040": {
13+
"allowed_languages": [
14+
"bash",
15+
"console",
16+
"html",
17+
"javascript",
18+
"json",
19+
"markdown",
20+
"powershell",
21+
"text",
22+
"xml",
23+
"yaml",
24+
"plaintext"
25+
],
26+
"language_only": true
27+
},
28+
"MD003": {
29+
"style": "atx"
30+
},
31+
"MD035": {
32+
"style": "---"
33+
},
34+
"MD013": {
35+
"strict": false,
36+
"code_blocks": false,
37+
"line_length": 1000
38+
},
39+
"MD024": {
40+
"siblings_only": true
41+
},
42+
"MD029": {
43+
"style": "ordered"
44+
},
45+
"MD044": {
46+
"code_blocks": false,
47+
"names": [
48+
"CommonMark",
49+
"JavaScript",
50+
"Markdown",
51+
"markdown-it",
52+
"markdownlint",
53+
"markdownlint-cli2",
54+
"Node.js"
55+
]
56+
},
57+
"MD036": {
58+
"punctuation": ".,;:!?"
59+
},
60+
"MD004": {
61+
"style": "dash"
62+
},
63+
"MD033": {
64+
"allowed_elements": ["details", "summary", "strong", "br"]
65+
}
66+
}
67+
}

.markdownlint.json

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)