-
Notifications
You must be signed in to change notification settings - Fork 51
/
sonar-project.properties
70 lines (66 loc) · 1.98 KB
/
sonar-project.properties
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
sonar.projectKey=smartcontractkit_chainlink-ccip
sonar.sources=.
sonar.sourceEncoding=UTF-8
sonar.python.version=3.8
# Full exclusions from the static analysis
sonar.exclusions=\
**/node_modules/**/*,\
**/mocks/**/*,\
**/testdata/**/*,\
**/contracts/typechain/**/*,\
**/contracts/artifacts/**/*,\
**/contracts/cache/**/*,\
**/contracts/scripts/**/*,\
**/generated/**/*,\
**/fixtures/**/*,\
**/testutils/**/*,\
**/gen/**/*,\
**/testfiles/**/*,\
**/testconfig/**/*,\
**/core/web/assets/**/*,\
**/core/scripts/**/*,\
**/docs/**/*,\
**/tools/**/*,\
**/fuzz/**/*,\
**/*.pb.go,\
**/*report.xml,\
**/*.config.ts,\
**/*.txt,\
**/*.abi,\
**/*.bin,\
**/*_codecgen.go,\
**/*_gen.go,\
**/tsconfig.json,\
**/debug.go
# Coverage exclusions
sonar.coverage.exclusions=\
**/*.test.ts,\
**/*_test.go,\
**/contracts/test/**/*,\
**/contracts/**/tests/**/*,\
**/core/**/cltest/**/*,\
**/integration-tests/**/*,\
**/plugins/**/*,\
**/main.go,\
**/0195_add_not_null_to_evm_chain_id_in_job_specs.go
# Duplication exclusions: mercury excluded because current MercuryProvider and Factory APIs are inherently duplicated due to embedded versioning
# Ethereum contracts were added temporarily, since until we fully migrate we will have parallel helpers that use Seth and since it's temporary
# it doesn't make sense to fight with some cyclic imports and similar issues and it's easier to have copy of some functions in both places
sonar.cpd.exclusions=\
**/contracts/**/*.sol,\
**/config.go,\
**/core/services/ocr2/plugins/ocr2keeper/evm/**/*,\
**/core/services/ocr2/plugins/mercury/plugin.go,\
**/integration-tests/load/**/*,\
**/integration-tests/contracts/ethereum_keeper_contracts.go,\
integration-tests/contracts/ethereum_contracts_seth.go,\
integration-tests/contracts/ethereum_contracts_seth.go,\
integration-tests/actions/seth/actions.go,\
dashboard-lib/**
# Tests' root folder, inclusions (tests to check and count) and exclusions
sonar.tests=.
sonar.test.inclusions=\
**/*_test.go,\
**/*.test.ts
sonar.test.exclusions=\
**/integration-tests/**/*