blob: ffa28b6ae716f1a8612ae23394b7f4fa0b0232bd [file] [log] [blame]
# https://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
max_line_length = 140
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{java,kt,kts,scala,rs,xml,kt.spec,kts.spec}]
indent_size = 4
[*.{kt,kts}]
ktlint_code_style = ktlint_official
ktlint_ignore_back_ticked_identifier = true
ktlint_standard = enabled
# Experimental rules run by default run on the ktlint code base itself. Experimental rules should not be released if
# we are not pleased ourselves with the results on the ktlint code base.
ktlint_experimental = enabled
# Don't allow any wildcard imports
ij_kotlin_packages_to_use_import_on_demand = unset
# Prevent wildcard imports
ij_kotlin_name_count_to_use_star_import = 99
ij_kotlin_name_count_to_use_star_import_for_members = 99
[*.md]
trim_trailing_whitespace = false
max_line_length = unset
[gradle/verification-metadata.xml]
indent_size = 3
[*.yml]
ij_yaml_spaces_within_brackets = false