Skip to content

Commit f7ae02f

Browse files
Set the dafault value of WRONG_INDENTATION:extendedIndentOfParameters to false
### What's done: * The `WRONG_INDENTATION:extendedIndentOfParameters` flag is now unset by default. This closes #1312.
1 parent 6a78aba commit f7ae02f

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

diktat-common/src/test/resources/test-rules-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
enabled: true
126126
configuration:
127127
newlineAtEnd: true
128-
extendedIndentOfParameters: true
128+
extendedIndentOfParameters: false
129129
alignedParameters: true
130130
extendedIndentAfterOperators: true
131131
indentationSize: 4

diktat-rules/src/main/resources/diktat-analysis-huawei.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
# Is newline at the end of a file needed
203203
newlineAtEnd: true
204204
# If true: in parameter list when parameters are split by newline they are indented with two indentations instead of one
205-
extendedIndentOfParameters: true
205+
extendedIndentOfParameters: false
206206
# If true: if first parameter in parameter list is on the same line as opening parenthesis, then other parameters can be aligned with it
207207
alignedParameters: true
208208
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one

diktat-rules/src/main/resources/diktat-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
# Is newline at the end of a file needed
203203
newlineAtEnd: true
204204
# If true: in parameter list when parameters are split by newline they are indented with two indentations instead of one
205-
extendedIndentOfParameters: true
205+
extendedIndentOfParameters: false
206206
# If true: if first parameter in parameter list is on the same line as opening parenthesis, then other parameters can be aligned with it
207207
alignedParameters: true
208208
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one

examples/gradle-groovy-dsl/diktat-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
# Is newline at the end of a file needed
203203
newlineAtEnd: true
204204
# If true: in parameter list when parameters are split by newline they are indented with two indentations instead of one
205-
extendedIndentOfParameters: true
205+
extendedIndentOfParameters: false
206206
# If true: if first parameter in parameter list is on the same line as opening parenthesis, then other parameters can be aligned with it
207207
alignedParameters: true
208208
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one

examples/gradle-kotlin-dsl-multiproject/diktat-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
enabled: true
127127
configuration:
128128
newlineAtEnd: true
129-
extendedIndentOfParameters: true
129+
extendedIndentOfParameters: false
130130
alignedParameters: true
131131
extendedIndentAfterOperators: true
132132
indentationSize: 4

examples/gradle-kotlin-dsl/diktat-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
# Is newline at the end of a file needed
203203
newlineAtEnd: true
204204
# If true: in parameter list when parameters are split by newline they are indented with two indentations instead of one
205-
extendedIndentOfParameters: true
205+
extendedIndentOfParameters: false
206206
# If true: if first parameter in parameter list is on the same line as opening parenthesis, then other parameters can be aligned with it
207207
alignedParameters: true
208208
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one

examples/maven/diktat-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
# Is newline at the end of a file needed
203203
newlineAtEnd: true
204204
# If true: in parameter list when parameters are split by newline they are indented with two indentations instead of one
205-
extendedIndentOfParameters: true
205+
extendedIndentOfParameters: false
206206
# If true: if first parameter in parameter list is on the same line as opening parenthesis, then other parameters can be aligned with it
207207
alignedParameters: true
208208
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one

0 commit comments

Comments
 (0)