forked from mikro-orm/mikro-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codeclimate.yml
More file actions
38 lines (35 loc) · 729 Bytes
/
.codeclimate.yml
File metadata and controls
38 lines (35 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "2"
checks:
file-lines:
config:
threshold: 1000
method-lines:
config:
threshold: 200
method-count:
config:
threshold: 100
return-statements:
config:
threshold: 7
method-complexity:
config:
threshold: 7
plugins:
duplication:
enabled: true
config:
count_threshold: 3
languages:
typescript:
# make it higher so it does not report bullshit like similarity of abstract method and its implementation
mass_threshold: 80
exclude_patterns:
- '**/*ExceptionConverter.ts'
- 'packages/core/src/utils/EntityComparator.ts'
- 'docs/'
- 'temp/'
- '**/dist/'
- '**/node_modules/'
- '**/tests/'
- '**/*.d.ts'