Title: Add new rule to catch syntax error e.g. "elif" instead of "elseif" · Issue #1299 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: Add new rule to catch syntax error e.g. "elif" instead of "elseif" · Issue #1299 · PowerShell/PSScriptAnalyzer
X Title: Add new rule to catch syntax error e.g. "elif" instead of "elseif" · Issue #1299 · PowerShell/PSScriptAnalyzer
Description: Summary of the new feature Try formulating it in user story style (if applicable): 'As a python and powershell developer I want ScriptAnalyzer to detect when I use elif (python) instead of elseif (powershell) so that the ci warns me abou...
Open Graph Description: Summary of the new feature Try formulating it in user story style (if applicable): 'As a python and powershell developer I want ScriptAnalyzer to detect when I use elif (python) instead of elseif (...
X Description: Summary of the new feature Try formulating it in user story style (if applicable): 'As a python and powershell developer I want ScriptAnalyzer to detect when I use elif (python) instead of else...
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/1299
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new rule to catch syntax error e.g. \"elif\" instead of \"elseif\"","articleBody":"**Summary of the new feature**\r\n\r\nTry formulating it in user story style (if applicable):\r\n'As a python and powershell developer I want ScriptAnalyzer to detect when I use elif (python) instead of elseif (powershell) so that the ci warns me about invalid statements and I can correct the code.'\r\n\r\n**Proposed technical implementation details (optional)**\r\n\r\nFor powershell modules we need an additional ci check. Currently syntax errors are not always covered. The ci for example does currently not cover usage of elif instead of elseif (former is python later is powershell).\r\n\r\nExample shippables: https://app.shippable.com/github/ansible/ansible/runs/133592/1/console ([source](https://github.com/ansible/ansible/pull/58383/commits/a7128498e01b4bd086046702b21d224d7edcbf2e))\r\nIt erroneously reports unused variables instead of a syntax error.\r\n\r\n**What is the latest version of PSScriptAnalyzer at the point of writing**\r\n\r\n","author":{"url":"https://github.com/agowa","@type":"Person","name":"agowa"},"datePublished":"2019-07-30T16:05:37Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/1299"}
| 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:f6369b55-ad7d-b322-9368-edbbc2ce92de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D57E:23AFD0:54935:7213D:6AFE0FFF |
| html-safe-nonce | 24916bd5f9519a88df850db6d1aa22148d2e4c1e219c705a46453ff82d1d5863 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTdFOjIzQUZEMDo1NDkzNTo3MjEzRDo2QUZFMEZGRiIsInZpc2l0b3JfaWQiOiI4MDQxNTQ1NTQxNTc5ODM3NDM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9c94b5429a1a744e5d69ab12fddbeb6b7ffbf45dcd527d70bac218429ea41db4 |
| hovercard-subject-tag | issue:474673291 |
| 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/1299/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a1fcf6b9f52f7d87aa8dc411515414fe99e3d01c1f6a619ef2849d33455f029/PowerShell/PSScriptAnalyzer/issues/1299 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a1fcf6b9f52f7d87aa8dc411515414fe99e3d01c1f6a619ef2849d33455f029/PowerShell/PSScriptAnalyzer/issues/1299 |
| og:image:alt | Summary of the new feature Try formulating it in user story style (if applicable): 'As a python and powershell developer I want ScriptAnalyzer to detect when I use elif (python) instead of elseif (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | agowa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1fd4053be37b4bd545b4f38f1cecad058c343776acf2cbc6806316f26270e55e |
| 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 | 635a57b3d0df6bc21c0f39fc7078888fb90e4066 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width