-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
58 lines (48 loc) · 1.19 KB
/
.editorconfig
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Top-most EditorConfig file
# See: https://EditorConfig.org
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Configuration files specific file configuration
[*.{cfg,ini,toml}]
indent_size = 2
indent_style = space
insert_final_newline = false
# Dockerfile specific file configuration
[*Dockerfile*]
indent_size = 4
indent_style = space
insert_final_newline = false
# JavaScript/TypeScript/JSON specific file configuration
[*.{astro,cjs,d.cts,d.mts,js,json,jsonc,jsx,mjs,svelte,ts,tsx,vue}]
indent_size = 2
indent_style = space
# LaTeX specific file configuration
[*.{bib,cls,pgf,tex,sty}]
indent_size = 4
indent_style = space
# Makefile specific file configuration
[Makefile*]
indent_style = tab
# Markdown specific file configuration
[*.{md,mdx}]
indent_size = 4
indent_style = space
trim_trailing_whitespace = false
# Python specific file configuration
[*.{ipynb,py}]
indent_size = 4
indent_style = space
# Shell specific file configuration
[*.sh]
indent_size = 4
indent_style = tab
# YAML specific settings:
[*.{yaml,yml}]
indent_size = 2
indent_style = space
insert_final_newline = true