Skip to content

Commit

Permalink
Added ktlint and editor config and missing test for non-existing account
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil.jedrzejuk committed Oct 3, 2024
1 parent fa7e883 commit 339e246
Show file tree
Hide file tree
Showing 23 changed files with 1,018 additions and 142 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true

[*.kt]
max_line_length = 100
disabled_rules = no-wildcard-imports

[*.{kt,kts}]
import_order = camelcase, spaces, semicolons

[*.kt]
ij_kotlin_packages_to_use_import_on_demand = emptyList()
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
kotlin("jvm") version "2.0.20"
id("io.gitlab.arturbosch.detekt") version("1.23.7")
id("org.jlleitschuh.gradle.ktlint") version("12.1.1")
}

group = "camilyed.github.io"
Expand All @@ -21,4 +22,6 @@ tasks.test {
}
kotlin {
jvmToolchain(21)
}
}

apply(plugin = "org.jlleitschuh.gradle.ktlint")
Loading

0 comments on commit 339e246

Please sign in to comment.