Title: New Rule Suggestion / Rule amendment - in response to #903 · Issue #904 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: New Rule Suggestion / Rule amendment - in response to #903 · Issue #904 · PowerShell/PSScriptAnalyzer
X Title: New Rule Suggestion / Rule amendment - in response to #903 · Issue #904 · PowerShell/PSScriptAnalyzer
Description: In Issue #903 the rule in my opinion correctly throws on a += for simple defined arrays using the $var = @() method of defining an array to the var variable I would suggest that a new rule is created that correctly identifies this method...
Open Graph Description: In Issue #903 the rule in my opinion correctly throws on a += for simple defined arrays using the $var = @() method of defining an array to the var variable I would suggest that a new rule is creat...
X Description: In Issue #903 the rule in my opinion correctly throws on a += for simple defined arrays using the $var = @() method of defining an array to the var variable I would suggest that a new rule is creat...
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/904
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New Rule Suggestion / Rule amendment - in response to #903","articleBody":"In Issue #903 the rule in my opinion correctly throws on a `+=` for simple defined arrays using the `$var = @()` method of defining an array to the `var` variable\r\n\r\nI would suggest that a new rule is created that correctly identifies this method as being an expensive action and that a recommendation to use a fully defined Array collection would be a better suggestion, initially suggesting using a System.Collections.ArrayList \r\n\r\nThis rule should look for both `@()` & `+=` and suggest converting these calls better scripting practices","author":{"url":"https://github.com/kilasuit","@type":"Person","name":"kilasuit"},"datePublished":"2018-02-21T15:58:21Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/904"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e4bc9afc-b16c-7897-de62-78a18c14c5c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A476:1AC388:46AD75:5CC6A4:6AFCEAF6 |
| html-safe-nonce | c05041805b86ee88e11e05af4503b7394726f082627f13e6ab0d2fa202f633bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDc2OjFBQzM4ODo0NkFENzU6NUNDNkE0OjZBRkNFQUY2IiwidmlzaXRvcl9pZCI6IjQyNjk2MjE2MTc3NDQ0NzI4MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e26df945ed1fd59f403f5244f0719cd392943e0452097a817ceffa583be7e0ba |
| hovercard-subject-tag | issue:299026002 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PSScriptAnalyzer/904/issue_layout |
| twitter:image | https://opengraph.githubassets.com/60444d41451a0f019907e65f9d365558bb22f4e33ba1d69575363d3452dae820/PowerShell/PSScriptAnalyzer/issues/904 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60444d41451a0f019907e65f9d365558bb22f4e33ba1d69575363d3452dae820/PowerShell/PSScriptAnalyzer/issues/904 |
| og:image:alt | In Issue #903 the rule in my opinion correctly throws on a += for simple defined arrays using the $var = @() method of defining an array to the var variable I would suggest that a new rule is creat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kilasuit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 99aede4c5f55ec5cf06666a8c9e03ebf9f85f7231223e7f1c38c16e5504835b3 |
| turbo-cache-control | no-preview |
| 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 | ecfd63ca125ec74b42f74eeb158b3fa081c8c497 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width