Jorge Martín
8b1efd6bc3
Restore no-unused-imports behaviour for ktlintFormat
2025-12-04 10:18:19 +01:00
Benoit Marty
ea4dea548a
Ignore some ktlint rules.
2025-11-17 13:39:42 +01:00
Benoit Marty
16c27926af
Ignore some ktlint Rules (too many issues(?) to fix and not urgent)
2025-10-30 14:33:27 +01:00
Benoit Marty
84602b4cde
Exclude generated files from being analyzed
2025-10-06 10:17:31 +02:00
Benoit Marty
e57da37657
Ktlint: disable rule standard:blank-line-before-declaration.
2024-01-10 19:31:36 +01:00
Benoit Marty
b97b1aa932
Ktlint: disable rule standard:function-naming for Composable function.
...
From https://github.com/pinterest/ktlint/issues/2259#issuecomment-1732333419
2024-01-10 19:31:36 +01:00
Benoit Marty
fe8024d34f
Ktlint: disable rule standard:parameter-list-wrapping and standard:indent.
2024-01-10 19:31:36 +01:00
Benoit Marty
5512e7e5b9
Ktlint: disable rule standard:annotation.
2024-01-10 19:31:36 +01:00
Benoit Marty
3643fe151d
Ktlint: disable rule standard:function-signature.
...
tom
2024-01-10 19:31:36 +01:00
Benoit Marty
2bc9b25472
Ktlint: disable rule standard:multiline-expression-wrapping.
...
Need to also disable rule string-template-indent as a side effect.
2024-01-10 19:31:36 +01:00
Benoit Marty
e9e3a4738e
Update broken link
2024-01-10 19:31:36 +01:00
Benoit Marty
807d869c52
Upgrade ktlint to version 1.1.1.
...
Need to disable `ktlint_standard:trailing-comma-on-declaration-site` else got this error:
Skipping rule(s) which are depending on a rule which is not loaded. Please check if you need to add additional rule sets before creating an issue.
- Rule with id 'RuleId(value=standard:trailing-comma-on-declaration-site)' requires rule with id 'RuleId(value=standard:wrapping)' to be loaded
2024-01-10 18:27:54 +01:00
renovate[bot]
7e9cda3aa9
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-10 16:22:24 +01:00
Benoit Marty
328a6ba31a
Upgrade ktlint to 0.48.2
2023-04-17 15:18:07 +02:00
Benoit Marty
d6058716c6
Format project
2022-12-09 12:06:37 +01:00
Benoit Marty
ffea505f8d
Import .editorconfig from Element
2022-12-09 12:06:37 +01:00