Request: Abstract ScriptAnalysis to allow multiple providers
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- powershell, vscode
調査の方向性
まず、PSES の既存の analysis-service ラッパー、提案されている Specter プロジェクト、およびその PSSA 互換性テストを確認します。何かを実装する前に provider の境界と統合アプローチを明確にします。完了とは、PSES が複数の ScriptAnalysis provider をサポートしつつ、説明されている診断とフォーマットのユースケースを維持できることを意味します。
索引モデルが issue の本文から書いたものです。
説明
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
Howdy howdy!
About six years ago I branched PSSA to experiment with how we might rewrite it to address some of the issues it represents especially for embedding in PSES.
I picked that back up again recently and have spent some time pushing it into an interesting state. I've put it together here.
I pulled in all of PSSA's tests and it passes all of them (except for deliberate breaks, which are either minor or internal type things) when run through its compatibility module.
Anyway, I suspect I won't be maintaining it, but I'd be happy to give it away if it's useful. It's specifically intended to serve PSES scenarios alongside also offering a PS module — it even has a server mode in case you want to run it as a daemon. And maybe this is of interest to @bergmeister too. Oh it also has a few extra rules, including native implementations of InjectionHunter.
Otherwise I just stopped in to say hi and hope all's well!
Proposed Design
If memory serves, we abstracted PSSA in PSES by wrapping it in an analysis service. We could probably do something similar in PSES pretty easily, but this time compiling directly against the DLL because it's meant to be used as a DLL. Also the service could spawn a new process that lives between calls or something — not quite sure about the details there, but the point is to amortise initialisation costs (maybe that scenario is actually better for CI or repeated command line use). Basically it shouldn't be too crazy to integrate if you're interested. And it should be pretty quick for diagnostics and much much faster for formatting
- 主要言語
- TypeScript
- スター
- 1.9k
- フォーク
- 548
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/vscode-powershell のほかの issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PowerShell/vscode-powershell#5599 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PowerShell/vscode-powershell#5592 · コメント 2 件 · リアクション 1 件 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PowerShell/vscode-powershell#5583 · コメント 1 件 ·
-
powershell.scriptAnalysis.settingsPath (Description): Warning Message Should Provide A Workaround オープンArea-Code Formatting Issue-Enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
PowerShell/vscode-powershell#4653 · コメント 3 件 · リアクション 4 件 ·
-
agentic-workflows
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
PowerShell/vscode-powershell#5606 ·
PowerShell/vscode-powershell の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TanStack/tanstack.com#1293 ·