-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.editorconfig
17 lines (16 loc) · 923 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Config file used to configure ktlint.
# Learn more: https://github.com/pinterest/ktlint#editorconfig=
[*.{kt, kts}]
indent_size = 4
insert_final_newline = true
# possible values: number (e.g. 120) (package name, imports & comments are ignored), "off"
# it's automatically set to 100 on `ktlint --android ...` (per Android Kotlin Style Guide)
max_line_length = off
# Globally disabled ktlint rules.
#
# Reasons why a rule is disabled globally:
# * no-wildcard-imports - allow wildcard imports statements. This is because by default, intellij automatically adds wildcard imports
# * enum-entry-name-case - allow enum class "case" names to be in format: "lowercase_snakecase". We often use enum classes for
# JSON values to send to the API. Currently, the majority of enums are used for this purpose.
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_enum-entry-name-case = disabled