-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
34 lines (28 loc) · 784 Bytes
/
Copy path.editorconfig
File metadata and controls
34 lines (28 loc) · 784 Bytes
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
# EditorConfig: https://editorconfig.org
# Top-level config for the HiveHive monorepo.
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# Web / config languages (explicit for clarity)
[*.{ts,tsx,js,jsx,mjs,cjs,json,jsonc,yml,yaml,md,html,htm,css,scss}]
indent_style = space
indent_size = 2
# Python
[*.py]
indent_style = space
indent_size = 4
# C / C++ / Arduino (ESP32-CAM firmware)
[*.{c,h,cc,cpp,hpp,ino}]
indent_style = space
indent_size = 2
# Makefiles MUST use tabs - recipe lines break otherwise.
[{Makefile,makefile,GNUmakefile,*.mk}]
indent_style = tab
# Markdown: don't trim trailing whitespace (two trailing spaces = hard break).
[*.md]
trim_trailing_whitespace = false