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. 

2 comments
Comment actions Permalink

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:

0
Comment actions Permalink
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

Please sign in to leave a comment.