Skip to content

Commit

Permalink
chore: codeclimate relaxed config for react comp
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Jul 15, 2021
1 parent a3dc6a7 commit 01e5e89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .changeset/gentle-rockets-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'blog-app': patch
'web-app': patch
'@your-org/core-lib': patch
'@your-org/db-main-prisma': patch
'@your-org/ui-lib': patch
---

Relaxed codeclimate config for react components
5 changes: 3 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ checks:
threshold: 4
file-lines:
config:
# Threshold from default 250 to 350 (tsx / react components)
threshold: 250
method-complexity:
config:
Expand All @@ -16,8 +17,8 @@ checks:
config:
threshold: 20
method-lines:
config:
threshold: 300
# Threshold from default 25 to 350 (tsx / react components)
threshold: 250
nested-control-flow:
config:
threshold: 4
Expand Down

0 comments on commit 01e5e89

Please sign in to comment.