Ignore changes in spaces and tabs

Using:
SonarScanner - 6.1
SonarQube - 7.9

Hi, I want to know if I can add some role that will ignore changes in the code, when the changes are change from tabs to spaces and opposite.
Can I add role like that ?

Hi,

If you’re talking about this in the context of what code gets marked “new”, I believe we go by what your SCM says is new. So you would need to start from there.

 
HTH,
Ann

Thanks a lot