-
-
Notifications
You must be signed in to change notification settings - Fork 352
/
qodana.yaml
43 lines (41 loc) · 1.38 KB
/
qodana.yaml
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
profile:
name: qodana.recommended
version: "1.0"
include:
- name: Anonymous2MethodRef
- name: AssignmentToCatchBlockParameter
- name: AssignmentToLambdaParameter
- name: AssignmentToMethodParameter
# disabled as it does not support nullability annotations
#- name: AssignmentToNull
- name: Convert2Lambda
- name: DoubleBraceInitialization
- name: EqualsAndHashcode
- name: JavaLangImport
# Disabled for annotations applied to type
#- name: MissortedModifiers
- name: NestedAssignment
- name: NonShortCircuitBoolean
- name: RedundantFieldInitialization
- name: RedundantSuppression
- name: Reformat
- name: ReturnNull
- name: SamePackageImport
- name: StringEquality
- name: UnnecessaryBoxing
- name: UnnecessaryLocalVariable
- name: UnnecessaryUnboxing
- name: UNUSED_IMPORT
- name: PointlessBooleanExpression
exclude:
- name: UseOfClone
# Do not check generated code
- name: All
paths:
- src/main/java/spoon/support/visitor/replace/ReplacementVisitor.java
- src/main/java/spoon/reflect/visitor/CtBiScannerDefault.java
- src/main/java/spoon/support/visitor/clone/CloneBuilder.java
- src/main/java/spoon/support/visitor/clone/CloneVisitor.java
- src/main/java/spoon/reflect/meta/impl/ModelRoleHandlers.java
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
linter: jetbrains/qodana-jvm-community:latest