How to disable an inspection once/in-file without modifying the code?
Answered
I want to keep my code clean of R# comments, but when I do choose to use R# I want to have some inspections disabled on a per-instance or per-file basis. Is there a way to do this?
I thought that something like the *.user model used by VisualStudio would be good enough. I know that R# has features for making settings local for solution-personal, solution-team, machine. Maybe something like this exists for inspection fine-tuning data?
Please sign in to leave a comment.
Hello Yury,
Unfortunately, there is no way to disable a ReSharper inspection without adding a comment/attribute in code.
Thanks!