-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiktat-analysis.yml
55 lines (55 loc) · 1.45 KB
/
diktat-analysis.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
- name: DIKTAT_COMMON
enabled: true
configuration:
domainName: com.saveourtool.processbuilder
kotlinVersion: 1.8.20
srcDirectories: "main,nativeMain,commonMain,jsMain,jvmMain,posixMain,mingwX64Main"
testDirs: "test,nativeTest,commonTest,jvmTest,commonNonJsTest,posixTest,mingwX64Test"
- name: AVOID_NULL_CHECKS
enabled: false
- name: HEADER_MISSING_OR_WRONG_COPYRIGHT
enabled: true
configuration:
isCopyrightMandatory: false
copyrightText: ''
- name: FILE_IS_TOO_LONG
enabled: true
configuration:
maxSize: 450
ignoreFolders: ''
- name: WRONG_INDENTATION
enabled: true
configuration:
newlineAtEnd: true
extendedIndentOfParameters: false
alignedParameters: true
extendedIndentAfterOperators: true
extendedIndentBeforeDot: false
indentationSize: 4
extendedIndentForExpressionBodies: true
- name: EMPTY_BLOCK_STRUCTURE_ERROR
enabled: true
configuration:
styleEmptyBlockWithNewline: true
allowEmptyBlocks: false
- name: LONG_LINE
enabled: true
configuration:
lineLength: 180
- name: TOO_LONG_FUNCTION
enabled: true
configuration:
maxFunctionLength: 35 # max length of function
isIncludeHeader: false # count function's header
- name: NESTED_BLOCK
enabled: true
configuration:
maxNestedBlockQuantity: 4
- name: TRAILING_COMMA
enabled: false
configuration:
valueArgument: true
valueParameter: true
- name: DEBUG_PRINT
enabled: true
ignoreAnnotated: [ Test ]