aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 432f34bbc103cdf7ef23659a9872be7adfcaa2b3 (plain)
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
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

# top-most EditorConfig file
root = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{gleam, erl, hrl, ex, exs, mjs, js, ts, toml, yaml, yml, json, jsonc, md}]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.{gleam, erl, hrl, ex, exs, mjs, js, ts}]
max_line_length = 80

[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false
max_line_length = off