-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
88 lines (84 loc) · 1.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "2"
# Actions to perform before analysis begins
# prepare:
# fetch: Remote files to fetch (files are placed relative to the repo's root directory)
# url: url to fetch
# path: destination relative to repo's root directory
# Configuration of maintainability checks
# checks:
# <name>
# enabled: true|false
# config: check configuration
# checks:
# argument-count:
# enabled: true
# config:
# threshold: 4
# complex-logic:
# enabled: true
# config:
# threshold: 4
# file-lines:
# enabled: true
# config:
# threshold: 250
# method-complexity:
# enabled: true
# config:
# threshold: 5
# method-count:
# enabled: true
# config:
# threshold: 20
# method-lines:
# enabled: true
# config:
# threshold: 25
# nested-control-flow:
# enabled: true
# config:
# threshold: 4
# return-statements:
# enabled: true
# config:
# threshold: 4
# similar-code:
# enabled: true
# # config:
# # threshold: #language-specific defaults. overrides affect all languages.
# identical-code:
# enabled: true
# # config:
# # threshold: #language-specific defaults. overrides affect all languages.
# Enable optional engines to run in addition to your analysis
# plugins:
# <name>
# enabled: true|false
# channel: alternate channel to use (stable is default)
# config: plugin configuration
plugins:
eslint:
enabled: true
channel: "eslint-7"
config:
config: workspace/.eslintrc.json
# Exclude files and/or directories from analysis
exclude_patterns:
# Root
- "backend/" # TODO temporary exclusion
- "charts/"
- "infra/"
- "docker-compose.yml"
- "realm-export-local.yml"
# General
- "**/.vscode/"
- "**/dist/"
- "**/node_modules/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/*.d.ts"
# Workspace
- "/workspace/.angular"
- "/workspace/tools/"
# Backend