简体   繁体   中英

SonarLint Change Allowed Cognitive Complexity

I would like to change the allowed cognitive complexity of a method in SonarLint from the default of 15 to a lower values such as 10. I am using the SonarLint plugin for eclipse.

How can this be done?

In connected mode the threshold for cognitive complexity can be defined in solarlint (csharpsquid:S3776). Please reference here

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