Title: Write new formatting engine · Issue #1480 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: Write new formatting engine · Issue #1480 · PowerShell/PSScriptAnalyzer
X Title: Write new formatting engine · Issue #1480 · PowerShell/PSScriptAnalyzer
Description: PSSA2 currently only has an analyzer. It should also have a formatter. In particular, the API should allow objects to implement an abstract class that doesn't emit diagnostics, but instead contributes edits to a formatting buffer. Rules ...
Open Graph Description: PSSA2 currently only has an analyzer. It should also have a formatter. In particular, the API should allow objects to implement an abstract class that doesn't emit diagnostics, but instead contribu...
X Description: PSSA2 currently only has an analyzer. It should also have a formatter. In particular, the API should allow objects to implement an abstract class that doesn't emit diagnostics, but instead cont...
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/1480
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Write new formatting engine","articleBody":"PSSA2 currently only has an analyzer. It should also have a formatter.\r\n\r\nIn particular, the API should allow objects to implement an abstract class that doesn't emit diagnostics, but instead contributes edits to a formatting buffer.\r\n\r\nRules should be able to provide an implementation for this also by implementing an API that provides an instance of the required abstract class.\r\n\r\nRequirements are:\r\n- Run as many formatters over the script as it can at once\r\n- When formatters want to overwrite the same extent, the largest wins\r\n- Attempt to run until no more formatters have edits to make, up to some maximum number of runs\r\n- Formatters should reuse the rule configuration system","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2020-05-06T03:14:47Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/1480"}
| 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:6b5b80d3-1829-2c1b-1714-e8ba5cc1ec2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A764:1E6ACE:36DD94:48D340:6AFCE74B |
| html-safe-nonce | 0e4719a6e71b6235f299215a6a397d31dbe66d9714cc8ce4fe4a2a5e949e7a86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY0OjFFNkFDRTozNkREOTQ6NDhEMzQwOjZBRkNFNzRCIiwidmlzaXRvcl9pZCI6IjkyMTc0Nzc4NTc0NjA5Mzg1NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e246255252276aaebf6a93a07d552a3ef30db2fd133ba9ae27d13c1698e16bdb |
| hovercard-subject-tag | issue:613022032 |
| 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/1480/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c2490830b8e4c5c1a963a17379282c853d2eb4f7a9d00a8385fdb096ebf4c73f/PowerShell/PSScriptAnalyzer/issues/1480 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c2490830b8e4c5c1a963a17379282c853d2eb4f7a9d00a8385fdb096ebf4c73f/PowerShell/PSScriptAnalyzer/issues/1480 |
| og:image:alt | PSSA2 currently only has an analyzer. It should also have a formatter. In particular, the API should allow objects to implement an abstract class that doesn't emit diagnostics, but instead contribu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rjmholt |
| 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