How can we deactivate external engine ROSLYN suggestion

Hi Guys,
I’m getting some suggestions from external engine ROSLYN. I just wanted to deactivate only those rule or suggestion which was not useful to me. Can any one please help me to do this.

Note: I already know how to turn off external engine suggestion completely.

Hey there.

You can configure Roslyn analyzers in your project using .editorconfig files: Configure code analysis rules - .NET | Microsoft Docs

By disabling them at the source, they will never be imported into SonarQube.