How to disable YAML analysis?

  • Operating system: Windows 10
  • SonarLint plugin version: v3.21.0
  • Programming language you’re coding in: Python
  • Is connected mode used: no

I use SonarLint to analyze Python code, and that is working great. From time to time, I open a YAML file, and every single session, SonarLint tells me this:

image

I am fine with not analyzing the YAML file, as I do not want to install and maintain the Node.js runtime.

Is there a way to disable YAML analysis (or at least this notification?)

1 Like

Hello @bers, thanks for the post! :slight_smile:

By next week we will release SonarLint for VSCode v3.22 that will include the feature enabling you to exclude files from SonarLint analysis. I believe this should fix the issue you are facing. So, be sure to upgrade once it’s available :wink:

All the best,
Sophio :sonarlint:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.