Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ktlint 규칙 설정 파일 추가 #37

Merged
merged 3 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset=utf-8
end_of_line=lf
indent_style=space
indent_size=4
insert_final_newline=true
disabled_rules=no-wildcard-imports,import-ordering,comment-spacing

[*.{kt,kts}]
insert_final_newline=false
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dependencies {
/** spring starter */
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-actuator")
}
}
2 changes: 1 addition & 1 deletion api/src/main/kotlin/com/few/ApiMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class ApiMain

fun main(args: Array<String>) {
runApplication<ApiMain>(*args)
}
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ tasks.named("gitExecutableHooks").configure {

tasks.named("clean").configure {
dependsOn("gitExecutableHooks")
}
}
2 changes: 1 addition & 1 deletion data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies {
/** flyway */
implementation("org.flywaydb:flyway-core:${DependencyVersion.FLYWAY}")
implementation("org.flywaydb:flyway-mysql")
}
}
2 changes: 1 addition & 1 deletion data/src/main/kotlin/com/few/data/config/DataConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class DataConfig {
const val BEAN_NAME_PREFIX = "fewData"
const val PROPERTY_PREFIX = SERVICE_NAME + "." + MODULE_NAME
}
}
}
2 changes: 1 addition & 1 deletion data/src/main/kotlin/com/few/data/flyway/FlywayConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class FlywayConfig {
)
return configuration
}
}
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = "few"

include("api")
include("data")
include("data")
Loading