Skip to content

Commit

Permalink
Add the default value of extendedIndentBeforeDot to `diktat-analysi…
Browse files Browse the repository at this point in the history
…s.yml` (#1449)

### What's done:

 * The default value of the flag has been copied to the YAML, so that end users
   can now more easily change it.
  • Loading branch information
0x6675636b796f75676974687562 authored Jul 14, 2022
1 parent a17825a commit 7582190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diktat-rules/src/main/resources/diktat-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@
extendedIndentForExpressionBodies: false
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one
extendedIndentAfterOperators: true
# If true: when dot qualified expression starts on a new line, this line will be indented with two indentations instead of one
extendedIndentBeforeDot: false
# The indentation size for each file
indentationSize: 4
# Checks that there is no empty blocks in a file.
Expand Down

0 comments on commit 7582190

Please sign in to comment.