Commit graph

16 commits

Author SHA1 Message Date
Jorge Martín
97d38b5910 Restore no-unused-imports behaviour for ktlintFormat 2025-12-04 10:18:19 +01:00
Benoit Marty
36de3bab9f Ignore some ktlint rules. 2025-11-17 13:39:42 +01:00
Benoit Marty
c30741a048 Ignore some ktlint Rules (too many issues(?) to fix and not urgent) 2025-10-30 14:33:27 +01:00
Benoit Marty
04d0666ca0 Exclude generated files from being analyzed 2025-10-06 10:17:31 +02:00
Benoit Marty
e421dd2f14 Ktlint: disable rule standard:blank-line-before-declaration. 2024-01-10 19:31:36 +01:00
Benoit Marty
159b2f5c0a 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
2e3b22009e Ktlint: disable rule standard:parameter-list-wrapping and standard:indent. 2024-01-10 19:31:36 +01:00
Benoit Marty
e9517f2bb3 Ktlint: disable rule standard:annotation. 2024-01-10 19:31:36 +01:00
Benoit Marty
b948a837ad Ktlint: disable rule standard:function-signature.
tom
2024-01-10 19:31:36 +01:00
Benoit Marty
3c3e85ed7c 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
dd919adb54 Update broken link 2024-01-10 19:31:36 +01:00
Benoit Marty
a28fd0c2e4 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]
c8bd362397
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
ff36c461b5 Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Benoit Marty
a413b635d1 Format project 2022-12-09 12:06:37 +01:00
Benoit Marty
106b83cf35 Import .editorconfig from Element 2022-12-09 12:06:37 +01:00