Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Fix cyclomatic-complexity doc
Browse files Browse the repository at this point in the history
permanent fix for palantir#1808
  • Loading branch information
nchen63 authored Dec 16, 2016
1 parent 124ae1f commit 9d29586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/cyclomaticComplexityRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class Rule extends Lint.Rules.AbstractRule {
ruleName: "cyclomatic-complexity",
description: "Enforces a threshold of cyclomatic complexity.",
descriptionDetails: Lint.Utils.dedent`
Cyclomatic complexity is assessed for each function of any type. A starting value of 1
Cyclomatic complexity is assessed for each function of any type. A starting value of 20
is assigned and this value is then incremented for every statement which can branch the
control flow within the function. The following statements and expressions contribute
to cyclomatic complexity:
Expand Down

0 comments on commit 9d29586

Please sign in to comment.