-
Notifications
You must be signed in to change notification settings - Fork 12
/
.codeclimate.yml
66 lines (60 loc) · 1.66 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "2"
checks:
method-lines:
config:
threshold: 40
similar-code:
enabled: false
complex-logic:
config:
threshold: 10
method-complexity:
config:
threshold: 10
plugins:
tslint:
enabled: true
markdownlint:
enabled: false
csslint:
enabled: true
similar-code:
enabled: false
exclude_patterns:
# Non Code Folders
- ".docker/"
- ".github/"
- ".gitops/"
- ".settings/"
- "infrastructure/"
- "splunk-dash-board/"
- "tools/"
# Backend File Specific Excludes
- "src/backend/oracle-data-api/src/test"
- "src/backend/TrafficCourts/Test/"
- "src/backend/TrafficCourts/TrafficCourts.Arc.Dispute.Client.Test/"
- "src/backend/TrafficCourts/TrafficCourts.Common.Test/"
- "src/backend/TrafficCourts/TrafficCourts.Messaging.Test/"
- "src/backend/TrafficCourts/TrafficCourts.Staff.Service.Test/"
- "src/backend/TrafficCourts/TrafficCourts.Workflow.Service.IntegrationTests/"
# Generated Files
- "src/backend/TrafficCourts/**/*.g.cs"
- "src/frontend/*/src/app/api"
# Frontend Pattern Excludes
- "src/frontend/*/karma.conf.js"
- "src/frontend/*/package.json"
- "src/frontend/*/tsconfig.json"
- "src/frontend/*/tslint.json"
- "src/frontend/*/**/*.spec.*"
- "src/frontend/*/**/*.model.*"
- "src/frontend/*/**/*.module.*"
- "src/frontend/*/**/*.routes.*"
- "src/frontend/*/**/abstract*.*"
- "src/frontend/*/tests/"
- "src/frontend/*/shared/components/"
- "src/frontend/*/src/tests/mocks/"
- "src/frontend/*/src/*.spec.ts"
- "src/frontend/*/src/*/*/*.spec.ts"
- "src/frontend/*/src/*.component.ts"
- "src/frontend/*/src/*/*/*.component.ts"
- "src/frontend/**/mock-*.ts"