René's URL Explorer Experiment


Title: Add AvoidReservedWordsAsFunctionNames Rule by liamjpeters · Pull Request #2128 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Add AvoidReservedWordsAsFunctionNames Rule by liamjpeters · Pull Request #2128 · PowerShell/PSScriptAnalyzer

X Title: Add AvoidReservedWordsAsFunctionNames Rule by liamjpeters · Pull Request #2128 · PowerShell/PSScriptAnalyzer

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

Open Graph Description: PR Summary Adds a new rule that warns when reserved words are used as function names. function function {} function if { function else {} } function global:try {} function private:catch {} F...

X Description: PR Summary Adds a new rule that warns when reserved words are used as function names. function function {} function if { function else {} } function global:try {} function private:catch {} F...

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

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:f8b5f679-76b9-7064-d18e-3a8ea2c33e92
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD958:192C4A:29A56A:37822A:6AFD15F0
html-safe-noncedc76d94136c8ebe79fdc83c28cc94ac521a9e44e42f89b4875550cfbe4194113
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTU4OjE5MkM0QToyOUE1NkE6Mzc4MjJBOjZBRkQxNUYwIiwidmlzaXRvcl9pZCI6IjY3NjQyMjYxNzUxNDQ0ODM2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51a0e6b175a4258724b46c89dbd78ae9dd0b268bd3527c12efe2d7101a34bdc3
hovercard-subject-tagpull_request:2790534486
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits
twitter:imagehttps://opengraph.githubassets.com/6531d9ab5e05399e371cfcaa357cb06ece56187650eb174abaaa4d3bb073ff11/PowerShell/PSScriptAnalyzer/pull/2128
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6531d9ab5e05399e371cfcaa357cb06ece56187650eb174abaaa4d3bb073ff11/PowerShell/PSScriptAnalyzer/pull/2128
og:image:altPR Summary Adds a new rule that warns when reserved words are used as function names. function function {} function if { function else {} } function global:try {} function private:catch {} F...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameliamjpeters
hostnamegithub.com
expected-hostnamegithub.com
None7c34e25df4e46e972c8f0225e63410231bdeb9ea5634597c712796bbcdb2e627
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
release8fa571ebaa95e4e6bf872197c0e84b7dc48e6785
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2128%2Fcommits
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%2F2128%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits
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
Andy Jordan (andyleejordan)https://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
liamjpeters:#2099PSAvoidReservedWordsAsFunctionNameshttps://github.com/liamjpeters/PSScriptAnalyzer/tree/%232099PSAvoidReservedWordsAsFunctionNames
Conversationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128
Commits9 (9)https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits
Checkshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/checks
Files changedhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/files
Add AvoidReservedWordsAsFunctionNames Rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits#top
Andy Jordan (andyleejordan)https://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
liamjpeters:#2099PSAvoidReservedWordsAsFunctionNameshttps://github.com/liamjpeters/PSScriptAnalyzer/tree/%232099PSAvoidReservedWordsAsFunctionNames
fix: Update helper GetScriptExtentForFunctionName to return correct extent when function name is 'function'https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/fbe1489d76261903d6202f356ac927fa178d8165
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Andy Jordan (andyleejordan)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=andyleejordan
fbe1489https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/fbe1489d76261903d6202f356ac927fa178d8165
https://github.com/PowerShell/PSScriptAnalyzer/tree/fbe1489d76261903d6202f356ac927fa178d8165
Add AvoidReservedWordsAsFunctionNames rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/b4f67c2c4c6bf8d896557ccca47fa614a9374466
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Andy Jordan (andyleejordan)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=andyleejordan
b4f67c2https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/b4f67c2c4c6bf8d896557ccca47fa614a9374466
https://github.com/PowerShell/PSScriptAnalyzer/tree/b4f67c2c4c6bf8d896557ccca47fa614a9374466
fix: Handle functions with scopeshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/1819eb334f7380020790403e1798dabbed38e634
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Andy Jordan (andyleejordan)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=andyleejordan
1819eb3https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/1819eb334f7380020790403e1798dabbed38e634
https://github.com/PowerShell/PSScriptAnalyzer/tree/1819eb334f7380020790403e1798dabbed38e634
Copyright headerhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/1e5c1b2b15163725a0fe63a9a4cab67d496d78b8
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Andy Jordan (andyleejordan)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=andyleejordan
1e5c1b2https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/1e5c1b2b15163725a0fe63a9a4cab67d496d78b8
https://github.com/PowerShell/PSScriptAnalyzer/tree/1e5c1b2b15163725a0fe63a9a4cab67d496d78b8
Extend Substring tests to starts with reserved word, ends with reserved word, and reserved word with a letter missinghttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/3b56a765bb8d7528720df7d46c30df1d6f9ec637
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
3b56a76https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/3b56a765bb8d7528720df7d46c30df1d6f9ec637
https://github.com/PowerShell/PSScriptAnalyzer/tree/3b56a765bb8d7528720df7d46c30df1d6f9ec637
Check if the function name is 'Function' case insensitively. Add a test for good measurehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/4510ff4c05abbc7a354f6a475a3f63d2aece0e29
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
4510ff4https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/4510ff4c05abbc7a354f6a475a3f63d2aece0e29
https://github.com/PowerShell/PSScriptAnalyzer/tree/4510ff4c05abbc7a354f6a475a3f63d2aece0e29
Fix casing of common namehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/a9e61823c7a791cbc61d7496a414b213486a9ce3
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Andy Jordan (andyleejordan)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=andyleejordan
a9e6182https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/a9e61823c7a791cbc61d7496a414b213486a9ce3
https://github.com/PowerShell/PSScriptAnalyzer/tree/a9e61823c7a791cbc61d7496a414b213486a9ce3
AvoidReservedWordsAsFunctionNames: factor our function name for readabilityhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/80172fedf6aef52312afe9c37333db3a5ac3d2c8
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
Patrick Meinecke (SeeminglyScience)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=SeeminglyScience
80172fehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/80172fedf6aef52312afe9c37333db3a5ac3d2c8
https://github.com/PowerShell/PSScriptAnalyzer/tree/80172fedf6aef52312afe9c37333db3a5ac3d2c8
Remove reserved words which do not pose an issue:https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/8f89a1b964ac364ce63a76404bf74f47f7380a8f
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters
8f89a1bhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/8f89a1b964ac364ce63a76404bf74f47f7380a8f
https://github.com/PowerShell/PSScriptAnalyzer/tree/8f89a1b964ac364ce63a76404bf74f47f7380a8f
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.