Skip to content

Commit 36f167b

Browse files
chore: bump org.jlleitschuh.gradle.ktlint from 11.2.0 to 13.0.0 (#47)
* chore: bump org.jlleitschuh.gradle.ktlint from 11.2.0 to 13.0.0 Bumps org.jlleitschuh.gradle.ktlint from 11.2.0 to 13.0.0. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-version: 13.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix lint issues * Remove incorrectly added close method * Lint fixes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Newman <[email protected]>
1 parent 28fec59 commit 36f167b

File tree

11 files changed

+393
-546
lines changed

11 files changed

+393
-546
lines changed

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# https://editorconfig.org/
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
# don't set end_of_line; let correct git setting checkout the appropriate one for OS
12+
charset = utf-8
13+
14+
[*.{json,yml,yaml,html,tf}]
15+
indent_size = 2
16+
ij_json_array_wrapping = normal
17+
18+
[*.{kt,kts}]
19+
ktlint_code_style = intellij_idea
20+
max_line_length = 120
21+
ij_kotlin_allow_trailing_comma = true
22+
ij_kotlin_allow_trailing_comma_on_call_site = true
23+
24+
[*Test.{kt,kts}]
25+
ktlint_standard_max-line-length = disabled

build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818

1919
plugins {
2020
id "org.sonarqube" version "3.5.0.2730"
21-
id "org.jlleitschuh.gradle.ktlint" version "11.2.0"
21+
id "org.jlleitschuh.gradle.ktlint" version "13.0.0"
2222
}
2323

2424
sonarqube {
@@ -65,3 +65,10 @@ dependencies {
6565
testImplementation ("io.mockk:mockk:1.13.4")
6666
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4'
6767
}
68+
69+
ktlint {
70+
android = true
71+
reporters {
72+
reporter "html"
73+
}
74+
}

0 commit comments

Comments
 (0)