| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:f8b5f679-76b9-7064-d18e-3a8ea2c33e92 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D958:192C4A:29A56A:37822A:6AFD15F0 |
| html-safe-nonce | dc76d94136c8ebe79fdc83c28cc94ac521a9e44e42f89b4875550cfbe4194113 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTU4OjE5MkM0QToyOUE1NkE6Mzc4MjJBOjZBRkQxNUYwIiwidmlzaXRvcl9pZCI6IjY3NjQyMjYxNzUxNDQ0ODM2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51a0e6b175a4258724b46c89dbd78ae9dd0b268bd3527c12efe2d7101a34bdc3 |
| hovercard-subject-tag | pull_request:2790534486 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits |
| twitter:image | https://opengraph.githubassets.com/6531d9ab5e05399e371cfcaa357cb06ece56187650eb174abaaa4d3bb073ff11/PowerShell/PSScriptAnalyzer/pull/2128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6531d9ab5e05399e371cfcaa357cb06ece56187650eb174abaaa4d3bb073ff11/PowerShell/PSScriptAnalyzer/pull/2128 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | liamjpeters |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c34e25df4e46e972c8f0225e63410231bdeb9ea5634597c712796bbcdb2e627 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8fa571ebaa95e4e6bf872197c0e84b7dc48e6785 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2128%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2128%2Fcommits |
| Sign up | https://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 |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits |
| PowerShell | https://github.com/PowerShell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| Code | https://github.com/PowerShell/PSScriptAnalyzer |
| Issues407 (407) | https://github.com/PowerShell/PSScriptAnalyzer/issues |
| Pull requests34 (34) | https://github.com/PowerShell/PSScriptAnalyzer/pulls |
| Discussions | https://github.com/PowerShell/PSScriptAnalyzer/discussions |
| Actions | https://github.com/PowerShell/PSScriptAnalyzer/actions |
| Projects | https://github.com/PowerShell/PSScriptAnalyzer/projects |
| Wiki | https://github.com/PowerShell/PSScriptAnalyzer/wiki |
| Security and quality | https://github.com/PowerShell/PSScriptAnalyzer/security |
| Insights | https://github.com/PowerShell/PSScriptAnalyzer/insights |
| https://github.com/PowerShell/PSScriptAnalyzer |
| Andy Jordan (andyleejordan) | https://github.com/andyleejordan |
| PowerShell:main | https://github.com/PowerShell/PSScriptAnalyzer/tree/main |
| liamjpeters:#2099PSAvoidReservedWordsAsFunctionNames | https://github.com/liamjpeters/PSScriptAnalyzer/tree/%232099PSAvoidReservedWordsAsFunctionNames |
| Conversation | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128 |
| Commits9 (9) | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits |
| Checks | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/checks |
| Files changed | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/files |
| Add AvoidReservedWordsAsFunctionNames Rule | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits#top |
| Andy Jordan (andyleejordan) | https://github.com/andyleejordan |
| PowerShell:main | https://github.com/PowerShell/PSScriptAnalyzer/tree/main |
| liamjpeters:#2099PSAvoidReservedWordsAsFunctionNames | https://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 |
| fbe1489 | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/fbe1489d76261903d6202f356ac927fa178d8165 |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/fbe1489d76261903d6202f356ac927fa178d8165 |
| Add AvoidReservedWordsAsFunctionNames rule | https://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 |
| b4f67c2 | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/b4f67c2c4c6bf8d896557ccca47fa614a9374466 |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/b4f67c2c4c6bf8d896557ccca47fa614a9374466 |
| fix: Handle functions with scopes | https://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 |
| 1819eb3 | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/1819eb334f7380020790403e1798dabbed38e634 |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/1819eb334f7380020790403e1798dabbed38e634 |
| Copyright header | https://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 |
| 1e5c1b2 | https://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 missing | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/3b56a765bb8d7528720df7d46c30df1d6f9ec637 |
| https://github.com/liamjpeters |
| Liam Peters (liamjpeters) | https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters |
| 3b56a76 | https://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 measure | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/4510ff4c05abbc7a354f6a475a3f63d2aece0e29 |
| https://github.com/liamjpeters |
| Liam Peters (liamjpeters) | https://github.com/PowerShell/PSScriptAnalyzer/commits?author=liamjpeters |
| 4510ff4 | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/4510ff4c05abbc7a354f6a475a3f63d2aece0e29 |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/4510ff4c05abbc7a354f6a475a3f63d2aece0e29 |
| Fix casing of common name | https://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 |
| a9e6182 | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/a9e61823c7a791cbc61d7496a414b213486a9ce3 |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/a9e61823c7a791cbc61d7496a414b213486a9ce3 |
| AvoidReservedWordsAsFunctionNames: factor our function name for readability | https://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 |
| 80172fe | https://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 |
| 8f89a1b | https://github.com/PowerShell/PSScriptAnalyzer/pull/2128/commits/8f89a1b964ac364ce63a76404bf74f47f7380a8f |
| https://github.com/PowerShell/PSScriptAnalyzer/tree/8f89a1b964ac364ce63a76404bf74f47f7380a8f |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |