PowerShell / PowerShell/PSScriptAnalyzer
Support `.config` project directory
未關閉
還沒有人認領這個 Issue。
Area - Engine
- 主要語言
- C#
- 星號
- 2.2k
- 分支
- 414
- 平均合併
- 13 小時 1 分鐘
- 30 天內合併 PR
- 2
描述
Summary of the new feature
To declutter a project root directory I'd like the ability to put the PSSA config file inside a .config directy, like suggested here (more details):
- Proposal: https://dot-config.github.io/, https://github.com/pi0/config-dir
- Support tracker: https://github.com/pi0/config-dir/discussions/6
One can of course override the config path, but native support for this would be neat.
Proposed technical implementation details (optional)
If running PSSA from project root I'd like it to automatically pick up the config in .config/.
What is the latest version of PSScriptAnalyzer at the point of writing
v1.24.0
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先定位從專案根目錄呼叫時解析 PSScriptAnalyzer 設定路徑的儲存庫程式碼,然後檢查明確 config-path 覆寫的處理方式。在不變更覆寫行為的情況下,實作對 .config/ 中設定檔的探索,並驗證從專案根目錄執行 PSSA 時可以找到該檔案。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, powershell
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100