Skip to content

Commit

Permalink
Improve CC config (100 lines is too few for React functions, annoying…
Browse files Browse the repository at this point in the history
…) + ignore mocks folder
  • Loading branch information
Vadorequest committed Oct 21, 2020
1 parent eed0c1e commit 426dcbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ checks:
method-lines:
enabled: true
config:
threshold: 100 # 25 by default
threshold: 200 # 25 by default
nested-control-flow:
enabled: true
config:
Expand Down Expand Up @@ -64,6 +64,7 @@ exclude_patterns:
- "**/*.spec.*"
- "src/svg/"
- "cypress/"
- "src/mocks/"

# Default CC excluded paths:
- "config/"
Expand Down

0 comments on commit 426dcbc

Please sign in to comment.