I am using VisualStudio 2017 sonarlint extension to scan my code against the rule profile for my project. My language is C#
My requirement is to scan only the new/modified code before I commit.
I understand by default visual Studio scans only the open document. However, it’s not necessary that all modified files will be open always.
Is there any way I can scan only the modified files incrementally?
I just want to ensure new checkin doesn’t violate rules.