Support `.config` project directory
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
まず、プロジェクトルートから呼び出されたときに PSScriptAnalyzer の構成パスを解決するリポジトリコードを特定し、明示的な config-path の上書きがどのように処理されるかを調べます。上書きの動作を変更せずに .config/ 内の構成ファイルを検出できるように実装し、プロジェクトルートから PSSA を実行したときにそのファイルが見つかることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 415
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/PSScriptAnalyzer のほかの issue
-
Up-for-Grabs
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
PowerShell/PSScriptAnalyzer#2213 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
PowerShell/PSScriptAnalyzer#2217 · コメント 1 件 ·
-
PSUseConsistentIndentation double-indents attribute bodies that open a scriptblock (`[Attr({ … })]`) オープン
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
PowerShell/PSScriptAnalyzer#2216 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
PowerShell/PSScriptAnalyzer#2211 ·
-
`PSPlaceOpenBrace` and `PSPlaceCloseBrace` leave trailing whitespace when expanding one-line blocks オープン
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
PowerShell/PSScriptAnalyzer#2210 ·