Skip to content

Commit dece9fa

Browse files
committed
Update ktlint to v1.4.1
1 parent 116a806 commit dece9fa

File tree

39 files changed

+124
-88
lines changed

39 files changed

+124
-88
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[*.{kt,kts}]
2+
3+
ktlint_standard_blank-line-before-declaration = disabled
4+
ktlint_standard_chain-method-continuation = disabled
5+
ktlint_standard_class-naming = disabled
6+
ktlint_standard_class-signature = disabled
7+
ktlint_standard_function-expression-body = disabled
8+
ktlint_standard_function-naming = disabled
9+
ktlint_standard_function-signature = disabled
10+
ktlint_standard_if-else-wrapping = disabled
11+
ktlint_standard_max-line-length = disabled
12+
ktlint_standard_multiline-expression-wrapping = disabled
13+
ktlint_standard_no-blank-line-in-list = disabled
14+
ktlint_standard_property-naming = disabled
15+
ktlint_standard_trailing-comma-on-call-site = disabled

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
java
33
kotlin("jvm")
4-
id("com.diffplug.spotless")version "6.25.0"
4+
id("com.diffplug.spotless") version "6.25.0"
55
}
66

77
val springBootProjects = subprojects.filter {

comparison-with-exposed/src/test/kotlin/org/komapper/example/ApplicationTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package org.komapper.example
33
import kotlin.test.Test
44

55
class ApplicationTest {
6-
76
@Test
87
fun test() {
98
main()

console-jdbc/src/test/kotlin/org/komapper/example/AddressTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import org.junit.jupiter.api.Test
55
import org.komapper.core.dsl.Meta
66

77
class AddressTest {
8-
98
@Test
109
fun test() {
1110
assertNotNull(Meta.address)

console-jdbc/src/test/kotlin/org/komapper/example/ApplicationTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package org.komapper.example
33
import org.junit.jupiter.api.Test
44

55
class ApplicationTest {
6-
76
@Test
87
fun test() {
98
main()

console-r2dbc/src/test/kotlin/org/komapper/example/AddressTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import org.junit.jupiter.api.Test
55
import org.komapper.core.dsl.Meta
66

77
class AddressTest {
8-
98
@Test
109
fun test() {
1110
assertNotNull(Meta.address)

console-r2dbc/src/test/kotlin/org/komapper/example/ApplicationTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import kotlinx.coroutines.runBlocking
44
import org.junit.jupiter.api.Test
55

66
class ApplicationTest {
7-
87
@Test
98
fun test() = runBlocking {
109
main()

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ktorVersion=3.0.1
1010
kotlinVersion=2.1.0
1111
komapperVersion=5.0.0
1212
kspVersion=1.0.28
13-
ktlintVersion=0.48.0
13+
ktlintVersion=1.4.1
1414
quarkusVersion=3.17.2
1515
springBootVersion=3.3.5
1616
nativeBuildToolsVersion=0.10.3

jpetstore/src/main/kotlin/org/komapper/example/repository/AccountRepository.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import org.springframework.stereotype.Repository
1616

1717
@Repository
1818
class AccountRepository(private val db: JdbcDatabase) {
19-
2019
private val a = Meta.account
2120
private val p = Meta.profile
2221
private val s = Meta.signOn

jpetstore/src/main/kotlin/org/komapper/example/repository/CategoryRepository.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import org.springframework.stereotype.Repository
1010

1111
@Repository
1212
class CategoryRepository(private val db: JdbcDatabase) {
13-
1413
private val c = Meta.category
1514

1615
fun fetchCategory(categoryId: String): Category? {

0 commit comments

Comments
 (0)