aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
blob: 7bf4c4d54c267f6a0817128ebd4335ac5b972e60 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
# SPDX-FileCopyrightText: 2021-2023 The Refinery Authors
#
# SPDX-License-Identifier: EPL-2.0

root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
ij_wrap_on_typing = true

[*.{gradle,java,kts,mwe2,xtend,xtext}]
indent_style = tab
indent_size = 4
# Mimic Eclipse continuation indent style in IntelliJ
max_line_length = 120
ij_continuation_indent_size = 8
ij_any_indent_case_from_switch = false

[*.{grammar,html,js,json,jsx,scss,ts,tsx,yml}]
indent_style = space
indent_size = 2

[libs.versions.toml]
max_line_length = 999

[*.{ecore,genmodel}]
max_line_length = 999

[*.mwe2]
max_line_length = 999