Set extendedIndentAfterOperators to true by default#1447
Merged
0x6675636b796f75676974687562 merged 3 commits intomasterfrom Jul 13, 2022
Merged
Set extendedIndentAfterOperators to true by default#14470x6675636b796f75676974687562 merged 3 commits intomasterfrom
extendedIndentAfterOperators to true by default#14470x6675636b796f75676974687562 merged 3 commits intomasterfrom
Conversation
### What's done: * Once we now have a separate flag for assignment (`extendedIndentForExpressionBodies`, `false` by default), let's set `extendedIndentAfterOperators` back to `true` to be consistent with how IDEA formats Kotlin source files.
### What's done:
Codecov Report
@@ Coverage Diff @@
## master #1447 +/- ##
=========================================
Coverage 83.23% 83.23%
Complexity 2562 2562
=========================================
Files 107 107
Lines 7619 7619
Branches 2103 2103
=========================================
Hits 6342 6342
Misses 388 388
Partials 889 889
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Contributor
Contributor
petertrr
approved these changes
Jul 13, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's done:
(
extendedIndentForExpressionBodies,falseby default, see Add anextendedIndentForExpressionBodiesflag to theWRONG_INDENTATIONcheck #1443), let's setextendedIndentAfterOperatorsback totrueto be consistent with how IDEAformats Kotlin source files.
Which rule and warnings did you add?
Actions checklist