-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
.codeclimate.yml
78 lines (78 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
67
68
69
70
71
72
73
74
75
76
77
78
# https://docs.codeclimate.com/docs/advanced-configuration
version: '2'
exclude_patterns:
- '.circleci/'
- '.github/'
- '.husky/'
- 'dist/'
- 'docker/'
- 'docs/'
- 'e2e/'
- 'examples/'
- 'node_modules/'
- 'test-reports/'
- 'tests-e2e/'
- 'tests-failures/'
- 'tests-performance/'
- 'tests/'
- 'tmp/'
- 'libs/ng-mocks/src/index.ts'
- 'libs/ng-mocks/src/lib/mock-builder/promise/types.ts'
- 'libs/ng-mocks/src/lib/mock-builder/types.ts'
- 'libs/ng-mocks/src/lib/mock-component/types.ts'
- 'libs/ng-mocks/src/lib/mock-directive/types.ts'
- 'libs/ng-mocks/src/lib/mock-helper/format/types.ts'
- 'libs/ng-mocks/src/lib/mock-module/types.ts'
- 'libs/ng-mocks/src/lib/mock-pipe/types.ts'
- 'libs/ng-mocks/src/lib/mock-render/types.ts'
- 'libs/ng-mocks/src/lib/mock-service/types.ts'
- '.codeclimate.yml'
- '.commitlintrc.yml'
- '.dockerignore'
- '.editorconfig'
- '.eslintignore'
- '.eslintrc.yml'
- '.gitignore'
- '.lintstagedrc.js'
- '.nvmrc'
- '.prettierignore'
- '.prettierrc.yml'
- '.releaserc.yml'
- 'CODEOWNERS'
- 'Dockerfile'
- 'LICENSE'
- 'empty.ts'
- 'karma.conf.ts'
- 'renovate.json'
- 'test.ts'
- 'webpack.config.js'
- '**/*.fixtures.ts'
- '**/*.json'
- '**/*.md'
- '**/*.sh'
- '**/*.spec.ts'
- '**/*.yml'
- '**/karma.conf.js'
plugins:
structure:
enabled: true
duplication:
enabled: true
config:
languages:
typescript:
checks:
method-complexity:
config:
threshold: 25
return-statements:
enabled: false
similar-code:
config:
threshold: 150
file-lines:
config:
threshold: 500
method-lines:
config:
threshold: 100