PowerShell / PowerShell/PSScriptAnalyzer
Improved rule suppression
オープン
まだ誰も着手していません。
Consider - 2.0
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 414
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 2
説明
PSSA2 should allow the suppression of rules:
- Current suppression attributes should be supported
- Comment-based suppression should also be supported and work based on token reading
- Ideally suppression should occur before rules create or emit a record to minimise overhead. This is most like easiest by making diagnostic emission use a method that can filter out diagnostics
- In particular, it may be useful to pre-process input and find excluded extents rather than each rule performing the same suppression discovery over and over
Another suppression scenario is being able to suppress groups of rules (possibly wildcarded) over a list of files (also possibly wildcarded).
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、既存の抑制属性、コメントとトークンの読み取り動作、および issue で説明されている診断の出力経路を確認します。ルールの抑制とワイルドカード付きファイルグループの抑制をどのように機能させるかを定義し、その後、診断が出力前にフィルタリングされること、ならびに列挙されているすべての抑制シナリオが網羅されていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- devtools, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100