File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ # .editorconfig
2+
3+ # see http://EditorConfig.org
4+
5+ # SPDX-FileCopyrightText: 2018-2025 Nextcloud GmbH and Nextcloud contributors
6+ # SPDX-License-Identifier: AGPL-3.0-or-later
7+
8+ # This is the file in the root of the project.
9+ # For sub folders you can have other files that override only some settings.
10+ # For these, this settings should be false.
11+ root =true
12+
13+ [* ]
14+ max_line_length =120
15+ # use spaces, not tabs.
16+ indent_style =space
17+ indent_size =4
18+
19+ [* .yml ]
20+ max_line_length =150
21+
22+ charset =utf-8
23+
24+ # Trimming is good for consistency
25+ trim_trailing_whitespace =true
26+ # I've seen cases where a missing new_line was ignored on *nix systems.
27+ # Never again with this setting!
28+ insert_final_newline =true
29+
30+ [* .properties ]
31+ # Exception for Java properties files should be encoded latin1 (aka iso8859-1)
32+ charset =latin1
33+
34+ [* .{cmd,bat} ]
35+ # batch files on Windows should stay with CRLF
36+ end_of_line =crlf
37+
38+ [* .md ]
39+ trim_trailing_whitespace =false
40+
41+ [.drone.yml ]
42+ indent_size =2
43+
44+ [* .{kt,kts} ]
45+ ktlint_code_style = android_studio
46+ # IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
47+ ktlint_standard_import-ordering = disabled
48+ ktlint_standard_no-consecutive-comments = disabled
49+ ktlint_function_naming_ignore_when_annotated_with = Composable
50+ ij_kotlin_allow_trailing_comma = false
51+ ij_kotlin_allow_trailing_comma_on_call_site = false
You can’t perform that action at this time.
0 commit comments