Skip to content

Commit

Permalink
Adding cyclomatic complexity lint
Browse files Browse the repository at this point in the history
  • Loading branch information
calimaborges committed Apr 22, 2017
1 parent 4bd87f4 commit a11dbf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"complexity": ["error",5]
}
}

0 comments on commit a11dbf6

Please sign in to comment.