-
Notifications
You must be signed in to change notification settings - Fork 293
/
Copy pathstatic-analysis.datadog.yml
49 lines (49 loc) · 1.08 KB
/
static-analysis.datadog.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
rulesets:
- java-best-practices:
rules:
array-is-stored-directly:
ignore:
- "**"
avoid-printstacktrace:
ignore:
- "buildSrc/**"
- "dd-java-agent/src/main/java/datadog/trace/bootstrap/**"
avoid-reassigning-parameters:
ignore:
- "**"
avoid-string-instantiation:
ignore:
- "**"
forloop-variable-count:
max-variables: 2
literals-first-in-comparison:
ignore:
- "**"
one-declaration-per-line:
ignore:
- "**"
redundant-initializer:
ignore:
- "**"
- java-code-style:
rules:
avoid-dollar-signs:
ignore:
- "**"
boolean-get-method-name:
ignore:
- "**"
control-statement-braces:
ignore:
- "**"
generics-naming:
ignore:
- "**"
- java-security
ignore-paths:
- ".mvn/**"
- "dd-java-agent/appsec/weblog/**"
- "dd-java-agent/benchmark-integration/**"
- "dd-smoke-tests/**"
- "**/src/test/**"
- "**/src/jmh/**"