René's URL Explorer Experiment


Title: Fix analyzer diagnostics and preserve PowerShell formatting by HuffmanStacks · Pull Request #2301 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Fix analyzer diagnostics and preserve PowerShell formatting by HuffmanStacks · Pull Request #2301 · PowerShell/PSScriptAnalyzer

X Title: Fix analyzer diagnostics and preserve PowerShell formatting by HuffmanStacks · Pull Request #2301 · PowerShell/PSScriptAnalyzer

Description: Download ScriptAnalyzer from PowerShellGallery. Contribute to PowerShell/PSScriptAnalyzer development by creating an account on GitHub.

Open Graph Description: PR Summary Make analyzer diagnostics more precise and preserve the layout of scripts when applying formatting corrections. Contributed by Christopher Huffman (@HuffmanStacks) with Codex assistance....

X Description: PR Summary Make analyzer diagnostics more precise and preserve the layout of scripts when applying formatting corrections. Contributed by Christopher Huffman (@HuffmanStacks) with Codex assistance....

Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/pull/2301

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:95bb8d92-6dbc-34f0-56a8-fb2ac8e4da2d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF40:185F68:3068DB:41B8EC:6AFCD2E0
html-safe-noncef7b39dab83fa6d2294509a4f4a1dc055af0411ae4dcf79231a3821125e5484c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjQwOjE4NUY2ODozMDY4REI6NDFCOEVDOjZBRkNEMkUwIiwidmlzaXRvcl9pZCI6IjM1NzU5NTg3NzEzNzA2MTE0MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4dee0952676370be29140dadf962e1e1610f82a975496612c6ada9c7f649afab
hovercard-subject-tagpull_request:5209749848
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PSScriptAnalyzer/2301/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/768b70ef01596dcae825288013a553ef366623dfba657b6c8dd775e0ce9dc14a/PowerShell/PSScriptAnalyzer/pull/2301
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/768b70ef01596dcae825288013a553ef366623dfba657b6c8dd775e0ce9dc14a/PowerShell/PSScriptAnalyzer/pull/2301
og:image:altPR Summary Make analyzer diagnostics more precise and preserve the layout of scripts when applying formatting corrections. Contributed by Christopher Huffman (@HuffmanStacks) with Codex assistance....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHuffmanStacks
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id33149177
octolytics-dimension-repository_nwoPowerShell/PSScriptAnalyzer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33149177
octolytics-dimension-repository_network_root_nwoPowerShell/PSScriptAnalyzer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2301
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2301
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
PowerShellhttps://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Codehttps://github.com/PowerShell/PSScriptAnalyzer
Issues407 (407)https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests34 (34)https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussionshttps://github.com/PowerShell/PSScriptAnalyzer/discussions
Actionshttps://github.com/PowerShell/PSScriptAnalyzer/actions
Projectshttps://github.com/PowerShell/PSScriptAnalyzer/projects
Wikihttps://github.com/PowerShell/PSScriptAnalyzer/wiki
Security and qualityhttps://github.com/PowerShell/PSScriptAnalyzer/security
Insightshttps://github.com/PowerShell/PSScriptAnalyzer/insights
https://github.com/PowerShell/PSScriptAnalyzer
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
HuffmanStacks:fix/open-issue-batch-1https://github.com/HuffmanStacks/PSScriptAnalyzer/tree/fix/open-issue-batch-1
Conversationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Commits7 (7)https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits
Checkshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/checks
Files changedhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/files
Fix analyzer diagnostics and preserve PowerShell formattinghttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301#top
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
HuffmanStacks:fix/open-issue-batch-1https://github.com/HuffmanStacks/PSScriptAnalyzer/tree/fix/open-issue-batch-1
https://github.com/HuffmanStacks
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
Nov 8, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#issue-6268973371
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Missing line number in rule PSUseBOMForUnicodeEncodedFile #1859https://github.com/PowerShell/PSScriptAnalyzer/issues/1859
UseProcessBlockForPipelineCommand returns a warning when pipeline behavior is explicitly disabled #1725https://github.com/PowerShell/PSScriptAnalyzer/issues/1725
[Repost] PSUseProcessBlockForPipelineCommand does not recognize use of $input within an End block #1915https://github.com/PowerShell/PSScriptAnalyzer/issues/1915
Get-ScriptAnalyzerRule throws exception despite common parameter '-ErrorAction SilentlyContinue' is defined #1876https://github.com/PowerShell/PSScriptAnalyzer/issues/1876
PSUseConsistentWhitespace CheckInnerBrace - false positive on hashtable closing brace #1742https://github.com/PowerShell/PSScriptAnalyzer/issues/1742
Cannot determine line endings as the text probably contain mixed line endings. #2074https://github.com/PowerShell/PSScriptAnalyzer/issues/2074
Any variable containing the word "credit" triggers PSAvoidUsingPlainTextForPassword #1886https://github.com/PowerShell/PSScriptAnalyzer/issues/1886
AvoidUsingPlainTextForPassword docs do not cover all checked parameter names #1565https://github.com/PowerShell/PSScriptAnalyzer/issues/1565
The new docs\Rules\README.md format causes merge issues #2220https://github.com/PowerShell/PSScriptAnalyzer/issues/2220
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
November 8, 2026 02:52https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#commits-pushed-7c4e937
https://github.com/HuffmanStacks
Locate missing BOM diagnostics at the start of the filehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/7c4e9370384a120efdefb0ada100011b6e9d2e56
7c4e937https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/7c4e9370384a120efdefb0ada100011b6e9d2e56
PowerShell#1859https://github.com/PowerShell/PSScriptAnalyzer/issues/1859
https://github.com/HuffmanStacks
Honor pipeline binding values and intentional end-block processinghttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/cc24bc90169b3f9995e5ff66e0d03ad362e3f0fa
cc24bc9https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/cc24bc90169b3f9995e5ff66e0d03ad362e3f0fa
PowerShell#1725https://github.com/PowerShell/PSScriptAnalyzer/issues/1725
PowerShell#1915https://github.com/PowerShell/PSScriptAnalyzer/issues/1915
https://github.com/HuffmanStacks
Respect ErrorAction when a custom rule path has no ruleshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/acd830c36b29301e59a33659e62073b164f0af09
acd830chttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/acd830c36b29301e59a33659e62073b164f0af09
PowerShell#1876https://github.com/PowerShell/PSScriptAnalyzer/issues/1876
https://github.com/HuffmanStacks
Format both sides of nonempty hashtable braceshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/88309fd8a03e64a7863098be8df4cbb8abf928b2
88309fdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/88309fd8a03e64a7863098be8df4cbb8abf928b2
PowerShell#1742https://github.com/PowerShell/PSScriptAnalyzer/issues/1742
https://github.com/HuffmanStacks
Preserve mixed line endings while formattinghttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/aa781d79fa3f4f73948e5f64ca8f3f89ab392e4b
aa781d7https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/aa781d79fa3f4f73948e5f64ca8f3f89ab392e4b
PowerShell#2074https://github.com/PowerShell/PSScriptAnalyzer/issues/2074
https://github.com/HuffmanStacks
Recognize credential abbreviations as identifier wordshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/c71b8fa6ed8804bd916cab537ae4d36e85cefdab
c71b8fahttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/c71b8fa6ed8804bd916cab537ae4d36e85cefdab
PowerShell#1886https://github.com/PowerShell/PSScriptAnalyzer/issues/1886
PowerShell#1565https://github.com/PowerShell/PSScriptAnalyzer/issues/1565
https://github.com/HuffmanStacks
Use stable reference labels in the rule documentation indexhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/c7988e070610764656f86452193fe34fc864c2f9
c7988e0https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/commits/c7988e070610764656f86452193fe34fc864c2f9
PowerShell#2220https://github.com/PowerShell/PSScriptAnalyzer/issues/2220
https://github.com/HuffmanStacks
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Mikey Lombardi (He/Him) (michaeltlombardi)https://github.com/michaeltlombardi
code ownershttps://github.com/PowerShell/PSScriptAnalyzer/blob/0151b9dafd1a7ba4279e0deeb03f04661223e629/.github/CODEOWNERS#L2
November 8, 2026 08:06https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#event-35482556084
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 8, 2026 08:06https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#event-35482556806
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 8, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#pullrequestreview-5817140257
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#pullrequestreview-5817140257
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
https://github.com/HuffmanStacks
Christopher Huffman (HuffmanStacks)https://github.com/HuffmanStacks
Nov 8, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2301#issuecomment-6719226537
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2301
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/PowerShell/PSScriptAnalyzer/pull/2301/files/c7988e070610764656f86452193fe34fc864c2f9
https://github.com/michaeltlombardi
Mikey Lombardi (He/Him) (michaeltlombardi) https://github.com/michaeltlombardi
https://github.com/bergmeister
Christoph Bergmeister (bergmeister) https://github.com/bergmeister
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
Any variable containing the word "credit" triggers PSAvoidUsingPlainTextForPassword https://github.com/PowerShell/PSScriptAnalyzer/issues/1886
Get-ScriptAnalyzerRule throws exception despite common parameter '-ErrorAction SilentlyContinue' is defined https://github.com/PowerShell/PSScriptAnalyzer/issues/1876
Missing line number in rule PSUseBOMForUnicodeEncodedFile https://github.com/PowerShell/PSScriptAnalyzer/issues/1859
PSUseConsistentWhitespace CheckInnerBrace - false positive on hashtable closing brace https://github.com/PowerShell/PSScriptAnalyzer/issues/1742
UseProcessBlockForPipelineCommand returns a warning when pipeline behavior is explicitly disabled https://github.com/PowerShell/PSScriptAnalyzer/issues/1725
Cannot determine line endings as the text probably contain mixed line endings. https://github.com/PowerShell/PSScriptAnalyzer/issues/2074
The new docs\Rules\README.md format causes merge issues https://github.com/PowerShell/PSScriptAnalyzer/issues/2220
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2301
https://github.com/HuffmanStacks
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.