-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
67 lines (59 loc) · 2.67 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
# .codeclimate.yml
version: "2"
# --------------------------------------------------------------------------
# prepare: Actions to perform before analysis begins
# fetch: Remote files to fetch (files placed relative to the repo's root dir)
# url: url to fetch
# path: destination relative to repo's root directory
# --------------------------------------------------------------------------
# checks: Configuration of maintainability checks
# <name>
# enabled: true|false
# config: check configuration
checks:
similar-code:
enabled: false
identical-code:
enabled: false
# --------------------------------------------------------------------------
# plugins: Enable optional engines to run in addition to your analysis
# <name>
# enabled: true|false
# channel: alternate channel to use (stable is default)
# config: plugin configuration
plugins:
# A tool designed to check markdown files and flag style issues
markdownlint:
enabled: true
# A tool for suggesting possible improvements to bash/sh shell scripts
shellcheck:
enabled: true
# Official style checker from the Go team
gofmt:
enabled: true
# Lints
golint:
enabled: true
config:
min_confidence: 0.9
# Examines source code to identify suspicious constructs and potential bugs
govet:
enabled: true
#phpcodesniffer:
# enabled: true
#csslint:
# enabled: true
# --------------------------------------------------------------------------
# exclude_patterns: Exclude files and/or directories from analysis
# - <pattern>
# - <pattern>
exclude_patterns:
- "docs/"
- "my-frontend-and-backend-api-examples/web-server-as-a-client/get-data-from-backend-server-to-web-server-using-grpc-with-protobuf/*"
- "my-frontend-and-backend-api-examples/web-server-as-a-client/send-data-from-web-server-to-backend-server-using-grpc-with-protobuf/*"
- "my-frontend-and-backend-api-examples/web-server-as-a-client/send-data-from-web-server-to-backend-server-using-grpc-with-protobuf/backend-client-test/client.go"
#- "my-frontend-and-backend-api-examples/backend-server-as-a-client/get-data-from-backend-server-to-backend-server-using-grpc-with-protobuf
#- "my-frontend-and-backend-api-examples/backend-server-as-a-client/get-data-from-web-server-to-backend-server-using-grpc-with-protobuf
#- "my-frontend-and-backend-api-examples/backend-server-as-a-client/send-data-from-backend-server-to-backend-server-using-grpc-with-protobuf
#- "my-frontend-and-backend-api-examples/backend-server-as-a-client/send-data-from-backend-server-to-web-server-using-grpc-with-protobuf
#- "my-frontend-and-backend-api-examples/multi-hop-examples/send-data-from-browser-to-web-server-to-backend-server/*"