Skip to content

Commit

Permalink
Also set the default value of extendedIndentOfParameters to false
Browse files Browse the repository at this point in the history
… if there's no config file

### What's done:

 * The default value of `extendedIndentOfParameters` is now `false` even if the YAML config file is missing.
 * Related to #1312 gh-1312.
  • Loading branch information
0x6675636b796f75676974687562 committed May 30, 2022
1 parent 9e3b5cb commit 23a2674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class IndentationConfig(config: Map<String, String>) : RuleConfiguratio
/**
* If true, in parameter list when parameters are split by newline they are indented with two indentations instead of one
*/
val extendedIndentOfParameters = config["extendedIndentOfParameters"]?.toBoolean() ?: true
val extendedIndentOfParameters = config["extendedIndentOfParameters"]?.toBoolean() ?: false

/**
* If true, if first parameter in parameter list is on the same line as opening parenthesis, then other parameters
Expand Down

0 comments on commit 23a2674

Please sign in to comment.