forked from bcgov/jag-traffic-courts-online
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
46 lines (43 loc) · 1.07 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
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:
# Backend File Specific Excludes
- "src/backend/BcGov.TrafficCourts.Api/DisputeApi.Web.Test/"
# 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"