From f10e74311227a1ee1e431889a056da1c60eb8870 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Fri, 26 Jan 2024 12:01:46 -0700 Subject: [PATCH] Bug 1876419 - Move comment from editorconfig files --- mobile/android/android-components/.editorconfig | 4 +++- mobile/android/fenix/.editorconfig | 4 +++- mobile/android/focus-android/.editorconfig | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mobile/android/android-components/.editorconfig b/mobile/android/android-components/.editorconfig index f5a93d57bef3..2e3da5d4b2e7 100644 --- a/mobile/android/android-components/.editorconfig +++ b/mobile/android/android-components/.editorconfig @@ -9,7 +9,9 @@ root = True [*.kt] indent_size = 4 indent_style = space -max_line_length = 120 # Matches maxLineLength in detekt.yml + +# Matches maxLineLength in detekt.yml +max_line_length = 120 ij_kotlin_allow_trailing_comma_on_call_site=true ij_kotlin_allow_trailing_comma=true diff --git a/mobile/android/fenix/.editorconfig b/mobile/android/fenix/.editorconfig index 35408b9312de..fe4b8e6b70ef 100644 --- a/mobile/android/fenix/.editorconfig +++ b/mobile/android/fenix/.editorconfig @@ -1,7 +1,9 @@ [*.{kt,kts}] ij_kotlin_allow_trailing_comma_on_call_site=true ij_kotlin_allow_trailing_comma=true -max_line_length = 120 # Matches maxLineLength in detekt.yml + +# Matches maxLineLength in detekt.yml +max_line_length = 120 [*] insert_final_newline = true diff --git a/mobile/android/focus-android/.editorconfig b/mobile/android/focus-android/.editorconfig index bc45217f6eae..449aee5ee2c6 100644 --- a/mobile/android/focus-android/.editorconfig +++ b/mobile/android/focus-android/.editorconfig @@ -1,6 +1,8 @@ [*.{kt,kts}] ij_kotlin_allow_trailing_comma_on_call_site=true ij_kotlin_allow_trailing_comma=true -max_line_length = 120 # Matches maxLineLength in detekt.yml + +# Matches maxLineLength in detekt.yml +max_line_length = 120 ktlint_standard_filename = disabled \ No newline at end of file -- 2.11.4.GIT