PowerShell / PowerShell/PSScriptAnalyzer
Support `.config` project directory
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 414
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、プロジェクトルートから呼び出されたときに PSScriptAnalyzer の構成パスを解決するリポジトリコードを特定し、明示的な config-path の上書きがどのように処理されるかを調べます。上書きの動作を変更せずに .config/ 内の構成ファイルを検出できるように実装し、プロジェクトルートから PSSA を実行したときにそのファイルが見つかることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100