mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-03 04:39:12 +00:00
8204944b5f
Mostly configuration cache support. And an aborted attempt at updating spotless, which just resulted in a bunch of ktlint issues :/.
42 lines
927 B
INI
42 lines
927 B
INI
# SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
ij_continuation_indent_size = 4
|
|
ij_any_do_while_brace_force = if_multiline
|
|
ij_any_if_brace_force = if_multiline
|
|
ij_any_for_brace_force = if_multiline
|
|
ij_any_spaces_within_array_initializer_braces = true
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.sexp]
|
|
indent_size = 2
|
|
|
|
[*.yml]
|
|
indent_size = 2
|
|
|
|
[{*.kt,*.kts}]
|
|
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
|
|
ij_kotlin_continuation_indent_size = 4
|
|
ij_kotlin_spaces_around_equality_operators = true
|
|
|
|
ij_kotlin_allow_trailing_comma = true
|
|
ij_kotlin_allow_trailing_comma_on_call_site = true
|
|
|
|
# Prefer to handle these manually
|
|
ij_kotlin_method_parameters_wrap = off
|
|
ij_kotlin_call_parameters_wrap = off
|
|
ij_kotlin_extends_list_wrap = off
|