summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 0edad7878b597c225980a6c295e5b3e72bcf87c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,json,vue,scss,rb,haml,yml}]
indent_size = 2

[*.{js,json,vue,scss,rb,haml,yml,md}]
indent_style = space
charset = utf-8

[*.{md,markdown,js.snap}]
trim_trailing_whitespace = false

[*.rb]
max_line_length = 120