1
0
Files
KotlinApiDemo/.editorconfig
2026-03-01 07:57:28 -05:00

51 lines
919 B
INI

# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Kotlin files
[*.{kt,kts}]
indent_style = space
indent_size = 4
continuation_indent_size = 4
max_line_length = 120
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
# Gradle files
[*.gradle.kts]
indent_style = space
indent_size = 4
# YAML files (for application.yml, etc.)
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# JSON files
[*.json]
indent_style = space
indent_size = 2
# XML files (for Maven, Spring configs, etc.)
[*.xml]
indent_style = space
indent_size = 2
# Markdown files
[*.md]
trim_trailing_whitespace = false
max_line_length = off
# Properties files
[*.properties]
indent_style = space
indent_size = 4