简体   繁体   中英

How to customize and turn off sonar rule in SonarQube extension for VS code

I am using SonarQube extension for VS code which enable me to write non-bugy and quality code. but some of the sonar rules not applicable for my code like:- we are using file naming convention "*-component" postfix with each file.

severity: 'Warning' message: 'Rename this file to "es6 class name".'
here SonarQube extension want me to keep file name and class name same.

So i want to turn off these all warning and error those not applicable to my code.

I am looking for a solution/hack to turn off SonarQube rules in vs code extension.

You're looking for Connected Mode , which will allow you to run locally with the rule set applied at the server. (Presumably you've already edited the Quality Profile on the server to exclude these rules, right?)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM