How can I make violation os [StringFormatMethod] warnings show up as errors instead?

I've recently discovered [StringFormatMethod] and I love that Rider helps underlining them and show up as a warning, but I'd much prefer them being red underlining as errors and in the Problems window also showing up as a serious problem that needs to be fixed. 

I feel like this is a setting I've seen somewhere, but can't seem to find. Would be even more helpful. 

0
3 comments

Hello,

Could you please clarify the exact inspection you mean? In general, there should be an option to change severity, like you can see on the screenshot:

1
Hello, Could you please clarify the exact inspection you mean? In general, there should be an option to change severity, like you can see on the screenshot: ![](https://rider-support.jetbrains.com/hc/user_images/lXIKqr-tltXh6t-bq9Fb6A.png)
0

Sorry for the late reply 😅
It did help me out at the time and I just realized that it wasn't resolved here. All good now. 

0

Please sign in to leave a comment.