PowerShell / PowerShell/PSScriptAnalyzer

Improved rule suppression

オープン
#1,483 コメント 2 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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).

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、既存の抑制属性、コメントとトークンの読み取り動作、および issue で説明されている診断の出力経路を確認します。ルールの抑制とワイルドカード付きファイルグループの抑制をどのように機能させるかを定義し、その後、診断が出力前にフィルタリングされること、ならびに列挙されているすべての抑制シナリオが網羅されていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, powershell
領域
devtools, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。