Skip to content

Commit

Permalink
Merge pull request #61 from onseok/feature/update-editorconfig-for-kt…
Browse files Browse the repository at this point in the history
…lint

[feature/update-editorconfig-for-ktlint] Ignore Function Naming Error for @composable in ktlint
  • Loading branch information
onseok authored Feb 5, 2024
2 parents ca9295d + d5d0863 commit b6870d1
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 502 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL

ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ktlint_function_naming_ignore_when_annotated_with = Composable

# These options can keep to use single name import
ij_kotlin_name_count_to_use_star_import = 2147483647
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ allprojects {
kotlin {
target("**/*.kt")
targetExclude("**/build/")
ktlint(libs.versions.ktlint.get())
ktlint().setEditorConfigPath("${project.rootDir}/.editorconfig")
licenseHeaderFile(rootProject.file("spotless/copyright.txt"))
}
kotlinGradle {
target("**/*.gradle.kts")
targetExclude("**/build/")
ktlint(libs.versions.ktlint.get())
ktlint().setEditorConfigPath("${project.rootDir}/.editorconfig")
licenseHeaderFile(rootProject.file("spotless/copyright.txt"), "(^(?![\\/ ]\\*).*$)")
}
}
Expand Down
63 changes: 0 additions & 63 deletions peekaboo-camera/build.gradle.kts

This file was deleted.

20 changes: 0 additions & 20 deletions peekaboo-camera/src/androidMain/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions peekaboo-camera/src/androidMain/res/xml/path_provider.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b6870d1

Please # to comment.