forked from emberjs/data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
38 lines (36 loc) · 958 Bytes
/
.codeclimate.yml
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
# Save as .codeclimate.yml (note leading .) in project root directory
languages:
JavaScript: true
exclude_paths:
- 'tests/*'
- 'generators/*'
- 'blueprints/*'
- 'scripts/*'
- 'lib/*'
- 'node-tests/*'
- 'packages/*/tests/*'
- 'packages/*/generators/*'
- 'packages/*/blueprints/*'
- 'packages/*/bin/*'
- 'packages/*/lib/*'
- 'packages/*/node-tests/*'
version: '2' # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
enabled: false # we should re-enable this and slowly reduce to ~750 over time
method-complexity:
enabled: false # we should re-enable this and slowly reduce to ~10 over time
method-count:
config:
threshold: 50
method-lines:
config:
threshold: 100
identical-code:
enabled: false # we should re-enable this once we no longer have a separate build step for RecordData