forked from ankidroid/Anki-Android
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
26 lines (22 loc) · 890 Bytes
/
.editorconfig
File metadata and controls
26 lines (22 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[*]
end_of_line = lf
[*.bat]
end_of_line = crlf
[*.kt]
# We often have block comments representing implementation details after KDocs.
# This feels like an acceptable commenting strategy
ktlint_standard_no-consecutive-comments = disabled
# These lines add significant verbosity to the codebase. The PR introducing these rules (19817)
# added 2k LOC to the codebase, often quadrupling the number of lines:
#
# PreviewerAction.MARK -> viewModel.toggleMark()
# became:
# PreviewerAction.MARK -> {
# viewModel.toggleMark()
# }
# <blank line>
#
# https://pinterest.github.io/ktlint/latest/rules/standard/#when-entry-bracing
ktlint_standard_when-entry-bracing = disabled
# https://pinterest.github.io/ktlint/latest/rules/standard/#blank-line-between-when-conditions
ktlint_standard_blank-line-between-when-conditions = disabled