-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathqodana.yaml
73 lines (61 loc) · 2.14 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
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
71
#-------------------------------------------------------------------------------#
# Qodana analysis is configured by qodana.yaml file #
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
#-------------------------------------------------------------------------------#
version: "1.0"
#Specify inspection profile for code analysis
profile:
name: qodana.starter
#Enable inspections
#include:
# - name: <SomeEnabledInspectionId>
#Disable inspections
#exclude:
# - name: <SomeDisabledInspectionId>
# paths:
# - <path/where/not/run/inspection>
projectJDK: "21" #(Applied in CI/CD pipeline)
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
#bootstrap: sh ./prepare-qodana.sh
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
#plugins:
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
linter: jetbrains/qodana-jvm-community:latest
include:
- name: KotlinDeprecation
- name: ClassName
- name: LocalVariableName
- name: PropertyName
- name: CanBeParameter
- name: RemoveCurlyBracesFromTemplate
- name: RedundantModalityModifier
- name: RedundantNullableReturnType
- name: RemoveRedundantQualifierName
- name: RedundantSemicolon
- name: RedundantVisibilityModifier
- name: RemoveEmptyClassBody
- name: UnnecessaryVariable
- name: KotlinUnusedImport
- name: UnusedSymbol
- name: CopyWithoutNamedArguments
- name: ReplacePutWithAssignment
- name: ProtectedInFinal
- name: SimplifiableCallChain
- name: MemberVisibilityCanBePrivate
- name: JavaMapForEach
- name: ReplaceJavaStaticMethodWithKotlinAnalog
- name: MoveLambdaOutsideParentheses
- name: SimplifiableCall
- name: MayBeConstant
- name: NestedLambdaShadowedImplicitParameter
- name: ReplaceManualRangeWithIndicesCalls
- name: ReplaceMapIndexedWithListGenerator
- name: LiftReturnOrAssignment
- name: ConvertToStringTemplate
- name: MoveVariableDeclarationIntoWhen
- name: VerboseNullabilityAndEmptiness
exclude:
- name: All
paths:
- share/**