-
-
Notifications
You must be signed in to change notification settings - Fork 797
Add 'code_style' parameter to formatting rule set #7959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This allows configuration of the default code style used by ktlint. https://pinterest.github.io/ktlint/1.5.0/rules/code-styles/
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (60.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #7959 +/- ##
============================================
- Coverage 85.44% 85.43% -0.01%
+ Complexity 4223 4221 -2
============================================
Files 573 573
Lines 13301 13301
Branches 2544 2544
============================================
- Hits 11365 11364 -1
Misses 659 659
- Partials 1277 1278 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/FormattingProvider.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to this. We'll need to update the docs for this as well though
Fixes #5991
This is a notable change as anyone using the
android
config parameter now needs to setcode_style: android_studio
.