Skip to content

Commit 01e5e89

Browse files
committed
chore: codeclimate relaxed config for react comp
1 parent a3dc6a7 commit 01e5e89

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.changeset/gentle-rockets-mate.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'blog-app': patch
3+
'web-app': patch
4+
'@your-org/core-lib': patch
5+
'@your-org/db-main-prisma': patch
6+
'@your-org/ui-lib': patch
7+
---
8+
9+
Relaxed codeclimate config for react components

.codeclimate.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ checks:
88
threshold: 4
99
file-lines:
1010
config:
11+
# Threshold from default 250 to 350 (tsx / react components)
1112
threshold: 250
1213
method-complexity:
1314
config:
@@ -16,8 +17,8 @@ checks:
1617
config:
1718
threshold: 20
1819
method-lines:
19-
config:
20-
threshold: 300
20+
# Threshold from default 25 to 350 (tsx / react components)
21+
threshold: 250
2122
nested-control-flow:
2223
config:
2324
threshold: 4

0 commit comments

Comments
 (0)