Dan Grahn
Dan Grahn

Reputation: 9424

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?

Upvotes: 2

Views: 3176

Answers (1)

raghu
raghu

Reputation: 355

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

Upvotes: 2

Related Questions