Skip to content

Commit d322c0e

Browse files
Use eslint to measure cyclomatic complexity
1 parent dc76339 commit d322c0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@typescript-eslint"
1515
],
1616
"rules": {
17+
"complexity": ["warn", 15],
1718
"no-unused-vars": ["warn", {
1819
"argsIgnorePattern": "^_",
1920
"varsIgnorePattern": "^_"

0 commit comments

Comments
 (0)