This is a suggestion for the “ignore rules” section – the screen that shows which rules should be ignored for which files. Currently, the page shows the rule being ignored and the affected files. It would be helpful to show the actual affected source code. Without seeing the code, it’s difficult to evaluate whether the rule is being ignored legitimately.
It will also be helpful to see the affected files, for rules that apply to more than one file, and, for a specific rule, the count for each file (how many times the rule is being ignored).
The above information would be helpful in evaluating whether the ignore rule is valid, and whether its scope is appropriate.
The use case is: one of our user’s team member has gone through the entire code base and resolved the warnings reported by DeepSource (originally, there were over a thousand). They resolved them either by fixing the problem in the source code, or by adding an ignore rule. The maintainer’s job now is to go through the ignore rules and review them: make sure they aren’t sweeping anything serious under the rug. With the current UI, that’s hard to do, because it does not give them enough information to make a good decision.