forked from secureCodeBox/secureCodeBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
54 lines (53 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
47
48
49
50
51
52
53
54
# SPDX-FileCopyrightText: 2021 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
version: "2" # required to adjust maintainability checks
checks:
file-lines:
config:
threshold: 300
method-lines:
config:
threshold: 50
similar-code:
enabled: false
identical-code:
enabled: false
# plugins:
# eslint:
# enabled: true
# channel: "eslint-7"
# fixme:
# enabled: true
# golint:
# enabled: true
# gofmt:
# enabled: true
# govet:
# enabled: true
# markdownlint:
# enabled: true
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/__testFiles__/"
- "**/__snapshots__/"
- "Tests/"
- "**/vendor/"
- "**/*_test.go"
- "**/*.deepcopy.go"
- "**/*.test.js"
- "**/*.test.ts"
- "**/*.d.ts"
# Generated
- "**/hooks/cascading-scans/scan-helpers.js"
- "**/hooks/cascading-scans/hook.js"
# Auto Generated by kubernetes java client
- "**/hooks/persistence-defectdojo/src/main/java/io/securecodebox/models/"